Bug 1415836 - Make form autofill dropdown footer text centered. r=lchang
authorRay Lin <ralin@mozilla.com>
Wed, 15 Nov 2017 11:49:00 +0800
changeset 391833 28164096fde24ee2b534a91454202f6610ecaba7
parent 391832 3d72237c5a0fd8cfcd77764db3e3fe13c90e0e82
child 391834 b468a6f584f858967dc342cd5d28bec7db17aa77
push id32904
push usernerli@mozilla.com
push dateWed, 15 Nov 2017 09:56:19 +0000
treeherdermozilla-central@0b135d7d8cef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslchang
bugs1415836
milestone59.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 1415836 - Make form autofill dropdown footer text centered. r=lchang MozReview-Commit-ID: Aw8bQFlGQj3
browser/extensions/formautofill/skin/shared/autocomplete-item.css
--- a/browser/extensions/formautofill/skin/shared/autocomplete-item.css
+++ b/browser/extensions/formautofill/skin/shared/autocomplete-item.css
@@ -150,16 +150,17 @@ xul|richlistitem[originaltype="autofill-
 
 .autofill-footer > .autofill-option-button {
   box-sizing: border-box;
   padding: 0 10px;
   min-height: 40px;
   background-color: #EDEDED;
   font-size: calc(var(--option-btn-font-size) / var(--default-font-size) * 1em);
   color: var(--option-btn-text-color);
+  text-align: center;
 }
 
 .autofill-footer[no-warning="true"] > .autofill-warning {
   display: none;
 }
 
 .autofill-insecure-item {
   box-sizing: border-box;