Bug 1533206 - Center the login autocomplete footer text. r=jaws
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Sun, 17 Mar 2019 21:43:54 -0700
changeset 525617 568561a463a712c04d212d0ffab89c8f4d029474
parent 525616 61d17d514b98a4e0ac101d48c87b1711836b4f73
child 525621 9421b477d67cfc4c9e03350cd554a9e6acc7f435
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1533206
milestone67.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 1533206 - Center the login autocomplete footer text. r=jaws Differential Revision: https://phabricator.services.mozilla.com/D23395
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -712,18 +712,18 @@ html|input.urlbar-input {
 #urlbar[actionoverride] > #urlbar-display-box,
 #urlbar:not([actiontype="switchtab"]):not([actiontype="extension"]) > #urlbar-display-box,
 #urlbar:not([actiontype="switchtab"]) > #urlbar-display-box > #switchtab,
 #urlbar:not([actiontype="extension"]) > #urlbar-display-box > #extension {
   display: none;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"] {
+  -moz-box-pack: center;
   color: var(--btn-text-color);
-  padding: 0 20px;
   min-height: 40px;
   border-top: 1px solid rgba(38,38,38,.15);
   background-color: #EDEDED;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"]:hover,
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"][selected] {
   background-color: #DCDCDE;