WordPress.org

Make WordPress Core

Opened 13 days ago

#49154 new enhancement

twenty twenty: group blocks do not clear children

Reported by: raQai Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version:
Component: Bundled Theme Keywords:
Focuses: css Cc:
PR Number:

Description

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;
}

Change History (0)

Note: See TracTickets for help on using tickets.