List block: Equalise spacing between list elements #14100
Labels
[Block] List
Affects the List Block
Needs Testing
Needs further testing to be confirmed.
[Type] Enhancement
A suggestion for improvement.
Spacing between list elements isn't consistent throughout a nested list. It's easiest to see this when using underscores instead of text:
But I measured to be sure I wasn't seeing things:
This looks to be happening because the margin between the content of an
<li>
and the<ul>
nested inside it is defined solely by the line-height of the parent<li>
element. Adding a bit of top-padding to the child<ul>
will even things out, so the spacing between list items is consistent across the list.The text was updated successfully, but these errors were encountered: