]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_layout.scss
fix Sidebar scrolling at mid-range sceen
[bookstack] / 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 {