]> BookStack Code Mirror - bookstack/commitdiff
Reduced excess margin in chapter contents lists
authorDan Brown <redacted>
Thu, 12 May 2022 16:27:57 +0000 (17:27 +0100)
committerDan Brown <redacted>
Thu, 12 May 2022 16:27:57 +0000 (17:27 +0100)
resources/sass/_lists.scss

index 26d12a25da42949cbced533fd25ac66caac1bf9c..dfde5a28252fb4dacf2ab1dac981287fa774249c 100644 (file)
     display: none;
     padding-inline-start: 0;
     position: relative;
+    margin-bottom: 0;
   }
   [chapter-toggle].open + .sub-menu {
     display: block;
@@ -485,6 +486,9 @@ ul.pagination {
     display: block;
     white-space: nowrap;
   }
+  > .entity-list > .entity-list-item:last-child {
+    margin-bottom: -$-xs;
+  }
 }
 
 .entity-list-item-image {