Bug 1379357 - Ensure that the zoom button the app menu has a fixed width to fit the 100% label, so that the buttons next to it don't move when the label gets slimmer. r?Gijs draft
authorMike de Boer <mdeboer@mozilla.com>
Wed, 20 Sep 2017 15:13:00 +0200
changeset 667634 f5dd903e1eb1f46e16f73321bf151bc0a21a0d51
parent 667627 d552df09385facb4ec4ebc6b52c34162a5695ce6
child 667635 9e3b8ce317a2f002901737af47042d8231ea59d9
child 667665 62a0201fcd4eb4eb66be62848bb070f3af5b2af9
push id80791
push usermdeboer@mozilla.com
push dateWed, 20 Sep 2017 13:20:26 +0000
reviewersGijs
bugs1379357
milestone57.0a1
Bug 1379357 - Ensure that the zoom button the app menu has a fixed width to fit the 100% label, so that the buttons next to it don't move when the label gets slimmer. r?Gijs MozReview-Commit-ID: Jp4ZQXamZBc
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -1364,16 +1364,21 @@ photonpanelmultiview .PanelUI-subView .t
   min-width: auto;
   padding: 4px;
 }
 
 #appMenu-zoom-controls > .subviewbutton {
   margin-inline-start: 10px;
 }
 
+#appMenu-zoomReset-button > .toolbarbutton-text {
+  min-width: 3em;
+  text-align: center;
+}
+
 .toolbaritem-combined-buttons > toolbarseparator[orient="vertical"] + .subviewbutton,
 #appMenu-zoom-controls > toolbarseparator[orient="vertical"] + .subviewbutton {
   margin-inline-start: 0;
 }
 
 photonpanelmultiview .PanelUI-subView .toolbaritem-combined-buttons >
   .subviewbutton-iconic > .toolbarbutton-text,
 photonpanelmultiview .PanelUI-subView .toolbaritem-combined-buttons >