From 588ed785d26ce66af0ba709e71a5c1323519c29e Mon Sep 17 00:00:00 2001 From: lawsssscat Date: Tue, 19 Sep 2023 22:12:33 +0800 Subject: [PATCH] fix Sidebar scrolling at mid-range sceen --- resources/sass/_layout.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 {