Skip to content

Remove extra bottom margin for nested lists. - #15158

Merged
kjellr merged 2 commits into
masterfrom
fix/list-spacing
Apr 25, 2019
Merged

kjellr merged 2 commits into
masterfrom
fix/list-spacing

Conversation

@kjellr

@kjellr kjellr commented Apr 24, 2019

Copy link
Copy Markdown
Contributor

Currently, lists that are two levels deep (or more) appear with some extra-tall bottom margins:

Screen Shot 2019-04-24 at 3 03 22 PM

In previous versions of Gutenberg, that extra margin did not exist (I checked against Version 5.5.0). I believe this was introduced via #14407. This PR adds a quick rule to clear out the bottom margin there:

Screen Shot 2019-04-24 at 3 03 32 PM

@kjellr kjellr added [Type] Regression Related to a regression in the latest release [Block] List Affects the List Block labels Apr 24, 2019
@kjellr
kjellr requested a review from jasmussen April 24, 2019 19:18
@kjellr
kjellr requested a review from chrisvanpatten as a code owner April 24, 2019 19:18
@kjellr kjellr self-assigned this Apr 24, 2019
@kjellr kjellr changed the title Remove extra bottom margin for 2nd level lists. Remove extra bottom margin for nested lists. Apr 24, 2019

@jasmussen jasmussen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Goodness me, yes, thank you for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] List Affects the List Block [Type] Regression Related to a regression in the latest release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants