Bug 1533206 - Center the login autocomplete footer text. r=jaws
authorprathiksha <prathikshaprasadsuman@gmail.com>
Thu, 14 Mar 2019 18:52:11 +0000
changeset 521946 db4a1fa6c07c
parent 521945 af5b991568da
child 521947 d266414d9c66
push id10870
push usernbeleuzu@mozilla.com
push dateFri, 15 Mar 2019 20:00:07 +0000
treeherdermozilla-beta@c594aee5b7a4 [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
@@ -713,20 +713,22 @@ html|input.urlbar-input {
 #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"] {
   color: var(--btn-text-color);
-  padding: 0 20px;
   min-height: 40px;
   border-top: 1px solid rgba(38,38,38,.15);
   background-color: #EDEDED;
+  display: flex;
+  justify-content: center;
+  align-items: center;
 }
 
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"]:hover,
 #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginsFooter"][selected] {
   background-color: #DCDCDE;
 }
 
 #PopupAutoComplete[firstresultstyle="insecureWarning"] {