[wp-trac] [WordPress Trac] #63549: Twenty Twenty-One: Line-height inconsistency in the editor with Lists and other blocks (was: Twenty Twenty-One: Line-height inconsistency in List Item blocks between editor and frontend)

WordPress Trac noreply at wordpress.org
Thu Jun 26 04:49:56 UTC 2025


#63549: Twenty Twenty-One: Line-height inconsistency in the editor with Lists and
other blocks
-------------------------------------+---------------------
 Reporter:  rishabhwp                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.9
Component:  Bundled Theme            |     Version:  6.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-test-info  |     Focuses:  css
-------------------------------------+---------------------

Comment (by sabernhardt):

 The margin issue (#60196) should only affect the List Item blocks in
 Twenty Twenty-One.

 The `line-height` issue affects more blocks. The theme's editor styles
 give a `line-height` for paragraphs, headings, table cells and
 `figcaption` elements. However, `reset.scss` defines the `line-height` as
 `normal` for:
 - List blocks
 - Preformatted, Code and Verse blocks
 - Navigation blocks
 - the month (table `caption`) in Calendar blocks

 As I said on #60196, I would not mind combining both pull requests into
 one testing process and/or one commit, but that would involve testing more
 blocks.

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


More information about the wp-trac mailing list