cms
cms copied to clipboard
[6.x] Overflowing button group no longer gets stacked
Bug description
Button group fields used to switch from horizontal to vertical layout if the options didn't fit in a single row. Somewhere in a recent refactor, the required styles seems to have been removed. The fieldtype component still switches between btn-group-horizontal and btn-group-vertical classes, but those classes no longer exist in the stylesheet.
v6
v5
How to reproduce
- In a blueprint, create a
button_groupfield with multiple long option names - Create a page using the blueprint
- Resize the window so the options no longer fit in a single line
Logs
Environment
6.0-alpha.17
Installation
Fresh statamic/statamic site via CLI
Additional details
No response