Closed
Description
opened on Apr 18, 2019
The Group block should have a .wp-block-group__inner-container
. This would be consistent with the .wp-block-cover__inner-container
for the Cover block.
This is particularly important if theme authors want to do something like have a full-width group but keep the content contained. At the moment, I'm having to do this:
.wp-block-cover > * {
// Reset everything to content width.
}
With no inner container and the specific design I'm working on, I'm also having to reset my inner wide and full aligns by targeting:
.alignfull .alignwide,
.alignfull .alignfull,
.alignwide .alignwide,
.alignwide .alignfull {
// Reset align margins and width.
}
I haven't even tested or figured out how I'm going to handle left/right alignment yet.
With an inner container, I could literally cut all that back to target one selector and a couple of lines of CSS.
Activity