Bug 971034 - adjust min-height of zoom control reset button only, r=jaws, a=sylvestre
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 14 Apr 2014 01:51:39 +0100
changeset 183736 c6f80ae1ee23a00a1ea3dc2a1c9af4095d931390
parent 183735 679aa869f39fc4e1ee84f856cc6ba51cfcf80936
child 183737 04e63b14de25d2a171ee7b62ae16e3e0c7a5a30e
push id3465
push usergijskruitbosch@gmail.com
push dateMon, 14 Apr 2014 12:21:48 +0000
treeherdermozilla-beta@d20804c31f61 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, sylvestre
bugs971034
milestone29.0
Bug 971034 - adjust min-height of zoom control reset button only, r=jaws, a=sylvestre
browser/themes/windows/browser.css
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -1044,16 +1044,26 @@ toolbarbutton[sdk-button="true"][cui-are
 #menu_tabview[groups="2"] {
   -moz-image-region: rect(1px, 53px, 17px, 37px);
 }
 
 #menu_tabview[groups="3"] {
   -moz-image-region: rect(1px, 71px, 17px, 55px);
 }
 
+/* zoom control text (reset) button special case: */
+
+#nav-bar #zoom-reset-button > .toolbarbutton-text {
+  /* To make this line up with the icons, it needs the same height (18px) +
+   * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
+   * increase in text sizes would break things...
+   */
+  min-height: 24px;
+}
+
 /* ::::: fullscreen window controls ::::: */
 
 #window-controls {
   -moz-margin-start: 4px;
 }
 
 #minimize-button,
 #restore-button,