Skip to content

Conversation

@JayGeorge
Copy link

This PR collapses the publish section margin when it has no fields. It closes #13373

A CSS solution was simpler here than a Vue one.

P.S. I thought about adding this CSS rule globally, but data may be loading in dynamically such as the grid view on /cp/collections, which loads in entries after the page has initiated—so in this case it would flip-flop between an empty/not empty state. So it's probably best to scope this selector.

I thought about adding this rule globally but it's possible that data is loading in dynamically such as the grid view on /cp/collections, which loads in entries after the page has initiated—so in this case it would flip-flop between an empty/not empty state. So it's probably best to scope this selector.
@JayGeorge JayGeorge linked an issue Dec 18, 2025 that may be closed by this pull request
@jasonvarga
Copy link
Member

This didn't seem to have any effect for me. I still saw the extra space. Replacing with #13381 anyway.

@jasonvarga jasonvarga closed this Dec 18, 2025
@jasonvarga jasonvarga deleted the collapse-empty-publish-sections branch December 18, 2025 17:00
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.

[6.x] Space above publish section for unpublished entry

3 participants