Skip to content

[6.x] Remove pt-4 as the default padding for a Group fieldtype#14708

Open
martyf wants to merge 1 commit into
statamic:6.xfrom
martyf:fix/group-fieldtype-padding
Open

[6.x] Remove pt-4 as the default padding for a Group fieldtype#14708
martyf wants to merge 1 commit into
statamic:6.xfrom
martyf:fix/group-fieldtype-padding

Conversation

@martyf
Copy link
Copy Markdown
Contributor

@martyf martyf commented May 22, 2026

When a Group fieldtype has no border, there is a pt-4 applied to the top.

With a border, it becomes py-4.

The space it creates is not aesthetically pleasing.

This PR removes pt-4 from a border-less Group fieldtype.

These examples are two Group fields, the top with the label hidden, and the bottom with the label visible. There are no field actions in this configuration, including disabling full screen.

Before:
image

After:
image

There is still unnecessary space above the field, but will see #14707 for this.

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