Bug 1405781 - don't constrain the width of the overflow panel in customize mode to avoid the scrollbar being placed outside it, r?mikedeboer draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 10 Oct 2017 15:43:54 +0100
changeset 678212 776e5b43d24e3f17a358cd8bc6006ae0732f1eec
parent 677139 4494c218fe4d16f1413d74b37b7fa178111951be
child 735265 7a07e919547434f3b610f31276c56453d658b7b0
push id83855
push usergijskruitbosch@gmail.com
push dateTue, 10 Oct 2017 22:29:08 +0000
reviewersmikedeboer
bugs1405781
milestone58.0a1
Bug 1405781 - don't constrain the width of the overflow panel in customize mode to avoid the scrollbar being placed outside it, r?mikedeboer MozReview-Commit-ID: GfT7LB9abBR
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -1730,16 +1730,23 @@ toolbarpaletteitem[place=panel] > .toolb
   overflow-y: auto;
   overflow-x: hidden;
 }
 
 .widget-overflow-list {
   width: @wideMenuPanelWidth@;
 }
 
+/* In customize mode, the overflow list is constrained by its container,
+ * so we set width: auto to avoid the scrollbar not fitting.
+ */
+#customization-panelHolder > .widget-overflow-list {
+  width: auto;
+}
+
 toolbaritem[overflowedItem=true],
 .widget-overflow-list .toolbarbutton-1 {
   width: 100%;
   max-width: @wideMenuPanelWidth@;
   background-repeat: no-repeat;
   background-position: 0 center;
 }