]> BookStack Code Mirror - bookstack/commitdiff
fix Sidebar scrolling at mid-range sceen 4562/head
authorlawsssscat <redacted>
Tue, 19 Sep 2023 14:12:33 +0000 (22:12 +0800)
committerlawsssscat <redacted>
Tue, 19 Sep 2023 14:12:33 +0000 (22:12 +0800)
resources/sass/_layout.scss

index 503298fccbd7ecfc7a5de5265bcbd92c22ee02b3..ac0e96a901b96a16cef76f0f671373c44e915370 100644 (file)
@@ -391,6 +391,18 @@ body.flexbox {
     position: sticky;
     top: $-m;
   }
+  .tri-layout-left-contents {
+    position: sticky;
+    top: 0;
+    max-height: 100vh;
+    overflow-y: scroll;
+    height: 100%;
+    scrollbar-width: none;
+    -ms-overflow-style: none;
+    &::-webkit-scrollbar {
+      display: none;
+    }
+  }
 }
 @include larger-than($xxl) {
   .tri-layout-left-contents, .tri-layout-right-contents {