Open Bug 1500589 Opened 6 years ago Updated 2 years ago

Don't set min-width on XUL <button>s that have flex>=1

Categories

(Toolkit :: UI Widgets, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox64 --- affected

People

(Reporter: Gijs, Unassigned)

References

Details

The consequence is they end up being squashable, and then their label text overlaps the button's bounds and looks broken. We currently have styles in windows, macos and linux toolkit's button.css ( https://searchfox.org/mozilla-central/source/toolkit/themes/linux/global/button.css#16 ). We should either set this as such: button:not([flex]) { min-width: ...; } or remove it: button[flex]:not([flex=0]) { min-width auto; } but we'd need to do that in all the themes, and ensure we weren't breaking anything.
If we do this, we can revert the fix in bug 1497443.
Component: Toolbars and Customization → XUL Widgets
Product: Firefox → Toolkit
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.