Skip to content

Allow blocks to set their own gap in theme.json#2307

Closed
scruffian wants to merge 1 commit intoWordPress:trunkfrom
scruffian:update/block-gap
Closed

Allow blocks to set their own gap in theme.json#2307
scruffian wants to merge 1 commit intoWordPress:trunkfrom
scruffian:update/block-gap

Conversation

@scruffian
Copy link
Contributor

This is an update to WordPress/gutenberg#37360 which attempts to allow blocks to still set their own values for gap while still using the --wp--style--block-gap variable at the root level.

To test, use a theme that sets a custom blockGap for a block (for example Skatepark has a custom blockGap for the navigation block). Check that:

@scruffian
Copy link
Contributor Author

Closing this old PR.

@scruffian scruffian closed this Mar 18, 2024
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