]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
95b9ea1
)
fix Sidebar scrolling at mid-range sceen
4562/head
author
lawsssscat
<redacted>
Tue, 19 Sep 2023 14:12:33 +0000
(22:12 +0800)
committer
lawsssscat
<redacted>
Tue, 19 Sep 2023 14:12:33 +0000
(22:12 +0800)
resources/sass/_layout.scss
patch
|
blob
|
history
diff --git
a/resources/sass/_layout.scss
b/resources/sass/_layout.scss
index 503298fccbd7ecfc7a5de5265bcbd92c22ee02b3..ac0e96a901b96a16cef76f0f671373c44e915370 100644
(file)
--- 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 {