From: Mikey O'Toole Date: Thu, 20 Feb 2020 14:25:23 +0000 (+0000) Subject: Resolve issue #1911 (Additional margin/padding present in nested lists) X-Git-Tag: v0.28.3~1^2~3^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/1913/head?ds=sidebyside 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. --- 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 */