cms icon indicating copy to clipboard operation
cms copied to clipboard

[6.x] Overflowing button group no longer gets stacked

Open daun opened this issue 1 month ago • 0 comments

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

Image Image

v5

Image Image

How to reproduce

  • In a blueprint, create a button_group field 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

daun avatar Nov 17 '25 08:11 daun