Bug 1354086 - fix fonts in overflow menu, combined buttons overflowing in customize mode, r?mikedeboer draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 11 Jul 2017 16:33:10 +0100
changeset 610626 dd16b2b83dea89c20ca5c0a0cad2efb8ae466402
parent 610625 6a34fd374816c6efc7811380aa327e922840ba65
child 637917 ac8d798175cd100e3e94b7f5b9148952f1083449
push id68957
push usergijskruitbosch@gmail.com
push dateTue, 18 Jul 2017 15:43:04 +0000
reviewersmikedeboer
bugs1354086
milestone56.0a1
Bug 1354086 - fix fonts in overflow menu, combined buttons overflowing in customize mode, r?mikedeboer MozReview-Commit-ID: Ck2Za6FUbeo
browser/base/content/browser.css
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -1266,16 +1266,17 @@ toolbarpaletteitem[place="palette"] > #d
   padding-bottom: 10px;
 }
 
 #customization-panelHolder > #widget-overflow-fixed-list {
   flex: 0 1 auto; /* Size to content, but allow ourselves to shrink */
   display: flex;
   flex-direction: column;
   overflow-y: auto;
+  overflow-x: hidden;
 }
 
 #customization-container:not([photon]) #customization-panelHolder {
   overflow-y: hidden;
 }
 
 #customization-container[photon] #customization-panel-container {
   display: flex;
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -1213,16 +1213,20 @@ panelview:not([mainView]) .subviewbutton
 .subviewbutton.panel-subview-footer > .menu-accel-container {
   padding-inline-start: 6px;
 }
 
 .subviewbutton:not(.panel-subview-footer) {
   margin: 0;
 }
 
+%ifdef MOZ_PHOTON_THEME
+#widget-overflow-fixed-list .toolbarbutton-1 > .toolbarbutton-text,
+#widget-overflow-list .toolbarbutton-1 > .toolbarbutton-text,
+%endif
 .subviewbutton:not(.panel-subview-footer) > .toolbarbutton-text,
 /* Bookmark items need a more specific selector. */
 .PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-text,
 .PanelUI-subView .subviewbutton:not(.panel-subview-footer) > .menu-iconic-text {
   font: menu;
 }
 
 .subviewbutton[shortcut]::after {