Skip to content

[6.x] Make bard buttons setting responsive#12474

Merged
jasonvarga merged 2 commits intostatamic:masterfrom
jacksleight:fix/responsive-bard-buttons-setting
Sep 16, 2025
Merged

[6.x] Make bard buttons setting responsive#12474
jasonvarga merged 2 commits intostatamic:masterfrom
jacksleight:fix/responsive-bard-buttons-setting

Conversation

@jacksleight
Copy link
Copy Markdown
Contributor

@jacksleight jacksleight commented Sep 16, 2025

At the moment the bard buttons setting is not responsive and overflows the container on smaller screens:

Screenshot 2025-09-16 at 16 36 53

This PR makes it responsive:

CleanShot.2025-09-16.at.17.00.08.mp4

Uses grid instead of flex so that the last row's buttons are aligned with the others while ensuring the buttons are still spread evenly when there's only one row. Dragging the buttons around the grid still seems to work fine.

@jasonvarga jasonvarga merged commit 962775b into statamic:master Sep 16, 2025
23 checks passed
@jacksleight jacksleight deleted the fix/responsive-bard-buttons-setting branch September 17, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants