-
Notifications
You must be signed in to change notification settings - Fork 182
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
Update TT1 Blocks to use Gutenberg alignments #236
Changes from 3 commits
bafb68b
521af9b
c0ffaf4
af20e47
70a0783
b2fa32b
86fb5f8
21a8e18
406df13
28f2782
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
<!-- wp:group {"tagName":"main", "align":"full"} --> | ||
<main class="wp-block-group alignfull"> | ||
<div class="wp-block-group__inner-container"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Question, were we not meant to remove the inner containers too? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's safe to remove yes, the deprecation probably triggers here making sure everything works with or without them but yes, it's better to remove. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, I've removed these in af20e47. |
||
<!-- wp:post-content {"align":"full"} /--> | ||
<!-- wp:post-content /--> | ||
</div> | ||
</main> | ||
<!-- /wp:group --> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this in place, posts on the front-end extended beyond the edges of the screen. So I've removed it for now. Should probably re-evaluate once I can get the front-end alignments working right in general though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should add
{ layout: { inherit: true } }
to all post content in the templates if they are at the root of templates..