Bug 1513035 - Remove text-align: center; from common.css buttons r=ewright,dao, a=RyanVM
authormatthias <matthias@kammueller.eu>
Tue, 11 Dec 2018 20:57:15 +0000
changeset 508977 b5a033723f0e3f52688564e5b817b19fd1e8de91
parent 508976 067a6752b18069ab91d3d46521a9bbeff962390e
child 508978 1ad308897e69c198246e75507d5252b8e6146725
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersewright, dao, RyanVM
bugs1513035
milestone65.0
Bug 1513035 - Remove text-align: center; from common.css buttons r=ewright,dao, a=RyanVM This is already part of the button default styling, common.css does not need to set this again, especially since it breaks the menulist text alignment. Differential Revision: https://phabricator.services.mozilla.com/D14119
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -169,17 +169,16 @@ html|*.numberbox-input::-moz-number-spin
   min-height: 32px;
   /* !important overrides button.css for disabled and default XUL buttons: */
   color: var(--in-content-text-color) !important;
   border: none;
   border-radius: 2px;
   background-color: var(--in-content-button-background);
   font-weight: 400;
   padding: 0 8px;
-  text-align: center;
   text-decoration: none;
   margin: 4px 8px;
   /* Ensure font-size isn't overridden by widget styling (e.g. in forms.css) */
   font-size: 1em;
 }
 
 xul|button,
 html|button {