From 65c49857103647a488683b0dfbb63320b9ed8d8d Mon Sep 17 00:00:00 2001 From: Mikey O'Toole Date: Thu, 20 Feb 2020 14:25:23 +0000 Subject: [PATCH] Resolve issue #1911 (Additional margin/padding present in nested lists) Optionally we could consider removing the rule at line 274. This doesn't handle multiple layers of nested lists and would be better covered by the generic rule which checks for an `ol` or `ul` nested inside a `li` which is how MarkDown renders nested lists as HTML. --- resources/sass/_text.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index d28706781..8210d6d44 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -295,6 +295,13 @@ li.checkbox-item, li.task-list-item { } } +li > ol, li > ul { + margin-block-end: 0px; + margin-block-start: 0px; + padding-block-end: 0px; + padding-block-start: 0px; +} + /* * Generic text styling classes */