Bug 991072: fix zoom percentage label to be centered in any toolbar. r=mconley
authorMike de Boer <mdeboer@mozilla.com>
Wed, 02 Apr 2014 15:47:55 +0200
changeset 176688 5ad244ee80328a49992303590e02d7f45038b603
parent 176687 cbae8e1098086c8ed2d4c0692e2befdc58542f9f
child 176689 f8ff846a6396efc74b0b1fe3dd6480843657e4f9
push id26529
push userkwierso@gmail.com
push dateThu, 03 Apr 2014 01:52:48 +0000
treeherdermozilla-central@87edfffb393d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs991072
milestone31.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 991072: fix zoom percentage label to be centered in any toolbar. r=mconley
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -1612,21 +1612,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;