Remove last use of @menuPanelButtonWidth@
Categories
(Firefox :: Theme, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox85 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file)
There's one remaining use of the menuPanelButtonWidth define, for customize mode. We can replace this instance with -moz-box-flex and simplify the code.
| Assignee | ||
Comment 1•5 years ago
|
||
This makes it more adaptable to toolbaritem-combined-buttons with varying
numbers of buttons.
I'm planning to introduce a usage of toolbaritem-combined-buttons with only two
buttons in bug 1650835 (a regular button and a dropmarker button), and the
dropmarker button is hidden when the item is shown in the panel, so we end up
with just one visible button, and the max-width was making it look silly.
This was the last reference to menuPanelButtonWidth, so we can remove the hack
was introduced in bug 963365. The max-width was needed originally because we had
a three-column layout in the panel, and each button could have wrapping text, so
-moz-box-flex wouldn't have enforced a fixed column width.
But the three-column layout is gone, and our current toolbaritem-combined-buttons
(zoom + edit buttons) don't require wrapping text.
Depends on D98213
Comment 3•5 years ago
|
||
| bugherder | ||
Description
•