Bug 1622054 - Make about:preferences searchbox font size consistent with searchboxes in about:logins and about:addons r=jaws
authorItiel <itiel_yn8@walla.com>
Mon, 13 Apr 2020 13:59:26 +0000
changeset 587042 97da803dccb8f1256360a14d79cfc58ccb59b53d
parent 587041 3bdbd621b5ab01d068d8ef824cc5b2d0ab56fc9f
child 587043 c384446d306e526ac61f5df9a63668b603f5d3f3
push id13072
push userffxbld-merge
push dateMon, 04 May 2020 14:22:08 +0000
treeherdermozilla-beta@8a4f45b9a244 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1622054
milestone77.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1622054 - Make about:preferences searchbox font size consistent with searchboxes in about:logins and about:addons r=jaws Differential Revision: https://phabricator.services.mozilla.com/D70438
browser/components/preferences/in-content/preferences.xhtml
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/components/preferences/in-content/preferences.xhtml
+++ b/browser/components/preferences/in-content/preferences.xhtml
@@ -168,17 +168,17 @@
            sha512-X8+p/CqXeMdssOoFOf5RV+RpkvnN9pukQ20acGc7LqMgfYLW+lR0WAYT66OtSTpFHE/Qgx/ZCBs2RMc4QrA8FQ== within the CSP above. -->
       <key data-l10n-id="focus-search" key="" modifiers="accel" id="focusSearch1" oncommand="gSearchResultsPane.searchInput.focus();"/>
     </keyset>
 
     <vbox class="main-content" flex="1" align="start">
       <vbox class="pane-container">
         <hbox class="sticky-container" pack="end" align="start">
           <hbox id="policies-container" align="stretch" flex="1" hidden="true">
-            <hbox align="start">
+            <hbox align="center">
               <image class="info-icon"></image>
             </hbox>
             <hbox align="center" flex="1">
               <label class="policies-label"
                      flex="1"
                      href="about:policies"
                      useoriginprincipal="true"
                      is="text-link"
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -847,27 +847,27 @@ image.update-throbber {
   margin: 20px 0 30px;
 }
 
 #policies-container {
   background-color: var(--in-content-warning-container);
   padding: 0 8px;
   margin-inline-end: 16px;
   border-radius: 2px;
+  font-size: 85%;
 }
 
 .policies-label {
   margin-inline-start: 2px;
 }
 
 .info-icon {
   list-style-image: url("chrome://global/skin/icons/identity-icon.svg");
   width: 16px;
   height: 16px;
-  margin-top: calc((32px - 16px) / 2);
 }
 
 .info-icon-telemetry {
   list-style-image: url("chrome://global/skin/icons/identity-icon.svg");
   width: 16px;
   height: 16px;
   margin-inline: 2px 8px;
 }
@@ -876,17 +876,16 @@ image.update-throbber {
   position: sticky;
   background-color: var(--in-content-page-background);
   top: 0;
   z-index: 1;
   /* The sticky-container should have the capability to cover all spotlight area. */
   width: calc(100% + 8px);
   margin-inline: -4px;
   padding-inline: 4px;
-  font-size: 85%;
 }
 
 .search-tooltip {
   max-width: 150px;
   font-size: 1.25rem;
   position: absolute;
   padding: 0 10px;
   background-color: #ffe900;