Skip to content

Commit

Permalink
Remove extra bottom margin for nested lists. (#15158)
Browse files Browse the repository at this point in the history
* Remove extra bottom margin for 2nd level lists.

* Relocate fix to editor/src/editor-styles.scss
  • Loading branch information
kjellr committed Apr 25, 2019
1 parent 774713c commit 7fd6969
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/editor/src/editor-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ ol {
margin-bottom: $default-block-margin;
padding: inherit;

// Remove bottom margin from nested lists.
ul,
ol {
margin-bottom: 0;
}

li {
// This overrides a bottom margin globally applied to list items in wp-admin.
margin-bottom: initial;
Expand Down

0 comments on commit 7fd6969

Please sign in to comment.