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;