From: Dan Brown Date: Thu, 1 Sep 2022 12:11:59 +0000 (+0100) Subject: Fixed missing nested list indent next to floated content X-Git-Tag: v22.09~1^2~19 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/1afc915aed0eebfbd7976170d25b6028e6b30cf2 Fixed missing nested list indent next to floated content Fixes #3672 --- diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index 51f315614..4eab8959a 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -274,6 +274,9 @@ span.highlight { * Lists */ ul, ol { + padding-left: $-m * 2.0; + padding-right: $-m * 2.0; + display: flow-root; p { margin: 0; } @@ -292,11 +295,6 @@ ol { list-style: decimal; } -ol, ul { - padding-left: $-m * 2.0; - padding-right: $-m * 2.0; -} - li > ol, li > ul { margin-top: 0; margin-bottom: 0;