WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 3 weeks ago

#49154 new defect (bug)

twenty twenty: group blocks do not clear children

Reported by: raQai Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: needs-testing needs-screenshots
Focuses: css Cc:

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

Attachments (3)

Screenshot from 2020-01-28 21-42-36.png (40.4 KB) - added by raQai 3 weeks ago.
backend button floating right at the end of a group block
Screenshot from 2020-01-28 21-44-02.png (48.8 KB) - added by raQai 3 weeks ago.
front end button floating right at the end of a group block
Screenshot from 2020-01-28 21-43-45.png (51.7 KB) - added by raQai 3 weeks ago.
front end button floating right at the end of a group block with fix

Download all attachments as: .zip

Change History (4)

#1 @ianbelanger
3 weeks ago

  • Keywords needs-testing needs-screenshots added
  • Severity changed from minor to normal
  • Type changed from enhancement to defect (bug)
  • Version set to 5.3

@raQai
3 weeks ago

backend button floating right at the end of a group block

@raQai
3 weeks ago

front end button floating right at the end of a group block

@raQai
3 weeks ago

front end button floating right at the end of a group block with fix

Note: See TracTickets for help on using tickets.