]> BookStack Code Mirror - bookstack/commitdiff
Fixed missing nested list indent next to floated content
authorDan Brown <redacted>
Thu, 1 Sep 2022 12:11:59 +0000 (13:11 +0100)
committerDan Brown <redacted>
Thu, 1 Sep 2022 12:11:59 +0000 (13:11 +0100)
Fixes #3672

resources/sass/_text.scss

index 51f3156143c381271eec6e3f8b839fe6ca1daab0..4eab8959a6931822dede2b488f24b0dd036a5cb1 100644 (file)
@@ -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;