1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 07:32:39 +01:00

fix Sidebar scrolling at mid-range sceen

This commit is contained in:
lawsssscat 2023-09-19 22:12:33 +08:00
parent 95b9ea1a21
commit 588ed785d2

View 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 {