From 7fd69698882064fbd4000385af4b9bad42721d06 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Thu, 25 Apr 2019 09:20:59 -0400 Subject: [PATCH] Remove extra bottom margin for nested lists. (#15158) * Remove extra bottom margin for 2nd level lists. * Relocate fix to editor/src/editor-styles.scss --- packages/editor/src/editor-styles.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/editor/src/editor-styles.scss b/packages/editor/src/editor-styles.scss index cd8b6657cbf4e3..c44e3d87a32299 100644 --- a/packages/editor/src/editor-styles.scss +++ b/packages/editor/src/editor-styles.scss @@ -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;