Bug 1374650 - Fix the indentation for panelview toolbar items that are text-only. r?Gijs draft
authorMike de Boer <mdeboer@mozilla.com>
Tue, 20 Jun 2017 17:34:53 +0200
changeset 597435 76307cb7584a515edc8bb3c4026c1056f05aea71
parent 597264 7a6baa6cca3292e8099e652b64d27e74df560874
child 634236 49a249f6aa88a125a248015003301b27be2670a7
push id64937
push usermdeboer@mozilla.com
push dateTue, 20 Jun 2017 15:38:34 +0000
reviewersGijs
bugs1374650
milestone56.0a1
Bug 1374650 - Fix the indentation for panelview toolbar items that are text-only. r?Gijs MozReview-Commit-ID: AXsTBhaTMYY
browser/themes/linux/customizableui/panelUI.css
browser/themes/shared/customizableui/panelUI.inc.css
browser/themes/windows/customizableui/panelUI.css
--- a/browser/themes/linux/customizableui/panelUI.css
+++ b/browser/themes/linux/customizableui/panelUI.css
@@ -97,13 +97,17 @@ menu.subviewbutton > .menu-right:-moz-lo
   -moz-appearance: none;
 }
 
 /* START photon adjustments */
 
 photonpanelmultiview .subviewbutton > .toolbarbutton-text,
 photonpanelmultiview .subviewbutton > .toolbarbutton-icon,
 photonpanelmultiview .panel-banner-item > .toolbarbutton-multiline-text {
-  padding: 0;
   margin: 0;
 }
 
+photonpanelmultiview .subviewbutton > .toolbarbutton-icon,
+photonpanelmultiview .panel-banner-item > .toolbarbutton-multiline-text {
+  padding: 0;
+}
+
 /* END photon adjustments */
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -1249,16 +1249,17 @@ photonpanelmultiview .PanelUI-subView .s
   padding: 4px 12px;
 }
 
 photonpanelmultiview .subviewbutton:focus {
   outline: 0;
 }
 
 photonpanelmultiview .subviewbutton > .toolbarbutton-text {
+  padding: 0;
   padding-inline-start: 24px; /* This is 16px for the icon + 8px for the padding as defined above. */
 }
 
 photonpanelmultiview .subviewbutton-iconic:not(.subviewbutton-back) > .toolbarbutton-text,
 photonpanelmultiview .cui-withicon > .toolbarbutton-text,
 photonpanelmultiview .subviewbutton[image] > .toolbarbutton-text,
 photonpanelmultiview .subviewbutton[checked="true"] > .toolbarbutton-text,
 photonpanelmultiview .panel-banner-item > .toolbarbutton-multiline-text {
--- a/browser/themes/windows/customizableui/panelUI.css
+++ b/browser/themes/windows/customizableui/panelUI.css
@@ -145,13 +145,17 @@ menu.subviewbutton > .menu-right:-moz-lo
   }
 }
 
 /* START photon adjustments */
 
 photonpanelmultiview .subviewbutton > .toolbarbutton-text,
 photonpanelmultiview .subviewbutton > .toolbarbutton-icon,
 photonpanelmultiview .panel-banner-item > .toolbarbutton-multiline-text {
-  padding: 0;
   margin: 0;
 }
 
+photonpanelmultiview .subviewbutton > .toolbarbutton-icon,
+photonpanelmultiview .panel-banner-item > .toolbarbutton-multiline-text {
+  padding: 0;
+}
+
 /* END photon adjustments */