[wp-trac] [WordPress Trac] #56144: Twenty Nineteen: overlap in Button block

WordPress Trac noreply at wordpress.org
Tue Jul 5 17:34:15 UTC 2022

#56144: Twenty Nineteen: overlap in Button block
 Reporter:  kajalgohel     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.9
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  ui, css
Changes (by sabernhardt):

 * version:  6.0 => 5.9


 The overlap in the editor can be fixed by overriding `height: 0` on those
 .wp-block-buttons [data-align="left"],
 .wp-block-buttons [data-align="right"] {
   height: auto;

 On the other hand, those alignment settings added in 5.9 are not (very)
 valuable. The `float` property for left and right alignment has no effect
 on the front end when the Buttons group is set to `flex`. To align these,
 choosing one of the Justify options on the Buttons container block would
 be better.

Ticket URL: <https://core.trac.wordpress.org/ticket/56144#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list