Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for breaking changes from Gutenberg 11.4 #30

Merged
merged 4 commits into from
Sep 9, 2021

Conversation

coreymckrill
Copy link
Contributor

Our theme had some alignment styles from Blockbase that didn't play well with changes introduced in Gutenberg 11.4. I went and found the commit where Blockbase was fixed to accommodate those changes and brought it over, and it seems to mostly fix the problem described in #29.

This is still a bit of a work-in-progress as I try to figure out if I can avoid introducing more !important clauses to the stylesheet, but I wanted to get your eyes on this @iandunn because it also appears to affect the global header (currently it's getting some margin added on the sides instead of being full-width).

This better accommodates the change in Gutenberg that causes all blocks
that support `experimentalLayout` (the Group block) to get the
`wp-container-[hash]` class added during rendering.

See Automattic/themes#4459
@coreymckrill coreymckrill self-assigned this Sep 9, 2021
Copy link
Member

@iandunn iandunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

great job on the docs, and thanks for the early heads up 👍🏻

@coreymckrill coreymckrill marked this pull request as ready for review September 9, 2021 21:57
@coreymckrill
Copy link
Contributor Author

coreymckrill commented Sep 9, 2021

@iandunn Do you want to address the global header margins in the PR, or in a separate one? Here's what it's looking like right now:

global-header

@iandunn
Copy link
Member

iandunn commented Sep 9, 2021

I'll take care of it in #28 , I've got it mostly working locally, but am playing around with a few approaches

@coreymckrill coreymckrill merged commit 4a144a7 into trunk Sep 9, 2021
@iandunn iandunn deleted the fix/29/layout-changes branch November 5, 2021 20:25
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.

2 participants