[wp-trac] [WordPress Trac] #51148: Twenty Twenty: Odd Heading Block Alignment in WordPress 5.5 (was: WordPress 5.5 Bug - Odd Heading Block Alignment)

WordPress Trac noreply at wordpress.org
Fri Oct 2 23:42:11 UTC 2020


#51148: Twenty Twenty: Odd Heading Block Alignment in WordPress 5.5
-------------------------------------+------------------------------
 Reporter:  Lumne                    |       Owner:  (none)
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Bundled Theme            |     Version:  5.5
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui, css
-------------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => has-patch needs-testing
 * component:  Editor => Bundled Theme


Comment:

 @Lumne Thanks for the report!

 That zero-margin on the left and right sides is currently set in the
 Twenty Twenty editor styles. It probably would work just as well to use
 `margin: 40px auto 25px;` for the heading blocks, but I think it's safer
 to define only the top and bottom margins instead.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51148#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list