[wp-trac] [WordPress Trac] #49154: twenty twenty: group blocks do not clear children
WordPress Trac
noreply at wordpress.org
Wed Jan 8 20:01:30 UTC 2020
#49154: twenty twenty: group blocks do not clear children
---------------------------+-----------------------------
Reporter: raQai | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: minor | Keywords:
Focuses: css |
---------------------------+-----------------------------
**reproduced by:**
1. Create a group block
2. add a button within the group block
3. make the button float right
**issue:**
the group block will not clear floating children producing probably
unwanted results in the frontend (and backend).
**fixed by:**
{{{
.wp-block-group__inner-container::after {
content: "";
display: table;
clear: both;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49154>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list