Skip to content

[6.x] Fix field alignment when field actions are visible - #15487

Merged
jasonvarga merged 2 commits into
statamic:6.xfrom
lazerg:fix/issue-15486-field-actions-alignment
Sep 22, 2026
Merged

jasonvarga merged 2 commits into
statamic:6.xfrom
lazerg:fix/issue-15486-field-actions-alignment

Conversation

@lazerg

@lazerg lazerg commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

This pull request fixes an issue where a field with visible field actions sits a few pixels lower than a neighbouring field without them. The asset fieldtype in the linked issue shifts the moment an asset is selected, since that's when its actions appear.

The field header puts the label and the actions in the same row, so the row takes the height of whichever is taller. The actions row is unconstrained and measures 26px against the label's 20px line box, pushing the field down by 6px.

This PR fixes it by giving the actions row h-5, matching the label's line height, so the header is the same height whether the actions are there or not.

Fixes #15486

@jasonvarga
jasonvarga enabled auto-merge (squash) September 22, 2026 20:20
@jasonvarga
jasonvarga merged commit 6c3a569 into statamic:6.x Sep 22, 2026
61 checks passed
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.

Vertical alignment of asset fieldtype

2 participants