Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Fix full-width container editor padding in WP 5.5 #401

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Conversation

nickcernis
Copy link
Collaborator

Ensures that full width container, pricing, and advanced column blocks do not have additional padding in the editor under WordPress 5.5.

Applies the same fix @dreamwhisper made to Genesis Blocks in https://github.com/studiopress/genesis-blocks/pull/45.

Fixes #395.

How to test

Under WP 5.5+.

  1. Add a container, pricing, and advanced column block.
  2. Set each to full-width.
  3. In the editor, check that there is not excessive padding to the left and right of the blocks.

Suggested changelog entry

  • Removed unnecessary padding in the editor on full-width Container, Pricing, and Advanced Column blocks.

@nickcernis nickcernis requested a review from mindctrl September 16, 2020 12:02
@nickcernis nickcernis linked an issue Sep 16, 2020 that may be closed by this pull request
@mindctrl mindctrl merged commit 41dcc2d into master Sep 16, 2020
@mindctrl mindctrl deleted the fix/5.5-spacing branch September 16, 2020 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WP 5.5: full width blocks not stretched edge to edge in editor
2 participants