[Post Template] Gutenberg 18.2 .alignfull fix breaks existing spacing solution #10
Labels
🐛 Bug
I installed this, and now my website is broken.
WordPress Issue
Whatcha doin' to me WordPress/Gutenberg?
A fix in Gutenberg 18.2 breaks the nested Post Template full alignment fix that we had in place. See:
The theme previously fixed this by overruling the margins in the editor so that they matched the front end:
x3p0-ideas/resources/scss/blocks/core/post-template.scss
Lines 35 to 42 in 82330c8
The Core/Gutenberg fix takes this in the opposite direction by making the front end match the editor. Unfortunately, this presents a problem with how the theme lays out pretty much most of its Query Loop / Post Template patterns.
The most obvious fix would be to re-add a wrapping Group block inside the Query Loop that wraps Post Template. But that solution results in the divitis that I worked so hard to get rid of.
Another solution might be to update the theme's CSS to work on both the front end and editor, but do I really want to spend my time fighting Core/Gutenberg?
🤔
The text was updated successfully, but these errors were encountered: