Bug 1374650 - Fix the indentation for panelview toolbar items that are text-only. r?Gijs
MozReview-Commit-ID: AXsTBhaTMYY
--- 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 */