Skip to content

[6.x] Remove margin from Label when label has no visible content#14709

Closed
martyf wants to merge 2 commits into
statamic:6.xfrom
martyf:fix/adjust-label-padding
Closed

[6.x] Remove margin from Label when label has no visible content#14709
martyf wants to merge 2 commits into
statamic:6.xfrom
martyf:fix/adjust-label-padding

Conversation

@martyf
Copy link
Copy Markdown
Contributor

@martyf martyf commented May 22, 2026

When a Field is configured to not show the Display Label, the mb-1.5 is still applied.

This PR only applies the mb-1.5 when the label has visible content.

This is related to #14707, and requires that be resolved to be notice.

@martyf martyf closed this May 22, 2026
@martyf martyf deleted the fix/adjust-label-padding branch May 22, 2026 03:38
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.

1 participant