When setting a text's container padding to 0, if adding list elements such as bullet or numbered lists, these will overflow the main container element and add extra spaces between sibling blocks due to <ul> and <ol>'s default margin top and bottom values (1 rem).
So, if the text block, say A, ends with plain text, the block B will be placed right under it. Whereas if the last element in a text block is a list, block B will have a vertical spacing from block A (Check images below)
The API doesn't expose anything to manage this so, is this something that could be fixed?
When setting a text's container padding to 0, if adding list elements such as bullet or numbered lists, these will overflow the main container element and add extra spaces between sibling blocks due to
<ul>
and<ol>
's default margin top and bottom values (1 rem).So, if the text block, say A, ends with plain text, the block B will be placed right under it. Whereas if the last element in a text block is a list, block B will have a vertical spacing from block A (Check images below)
The API doesn't expose anything to manage this so, is this something that could be fixed?