From: lawsssscat Date: Tue, 19 Sep 2023 14:12:33 +0000 (+0800) Subject: fix Sidebar scrolling at mid-range sceen X-Git-Tag: v23.10~1^2~12^2~1 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/4562/head?ds=sidebyside fix Sidebar scrolling at mid-range sceen --- diff --git a/resources/sass/_layout.scss b/resources/sass/_layout.scss index 503298fcc..ac0e96a90 100644 --- a/resources/sass/_layout.scss +++ b/resources/sass/_layout.scss @@ -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 {