Bug 991072: fix zoom percentage label to be centered in any toolbar. r=mconley, a=sylvestre.
authorMike de Boer <mdeboer@mozilla.com>
Wed, 02 Apr 2014 15:47:55 +0200
changeset 183629 3e69377c027a
parent 183628 cb7f81834560
child 183630 250d63775815
push id3426
push usermdeboer@mozilla.com
push date2014-04-04 09:01 +0000
treeherdermozilla-beta@250d63775815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, sylvestre
bugs991072
milestone29.0
Bug 991072: fix zoom percentage label to be centered in any toolbar. r=mconley, a=sylvestre.
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1594,21 +1594,22 @@ toolbarbutton[sdk-button="true"][cui-are
 #zoom-in-button:-moz-locale-dir(ltr) {
   border-top-left-radius: 0;
   border-bottom-left-radius: 0;
 }
 
 #zoom-controls[cui-areatype="toolbar"]:not([overflowedItem=true]) > #zoom-reset-button {
   min-width: 0;
   margin: 0;
+  -moz-box-orient: horizontal;
+  -moz-box-align: center;
 }
 
 #zoom-controls[cui-areatype="toolbar"]:not([overflowedItem=true]) > #zoom-reset-button > .toolbarbutton-text {
-  padding-top: 4px;
-  margin: 2px;
+  margin-top: 0;
 }
 
 /* ----- FULLSCREEN WINDOW CONTROLS ----- */
 
 #minimize-button,
 #close-button,
 #fullscreen-button ~ #window-controls > #restore-button {
   display: none;