fix Sidebar scrolling at mid-range sceen
This commit is contained in:
parent
95b9ea1a21
commit
588ed785d2
|
@ -391,6 +391,18 @@ body.flexbox {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: $-m;
|
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) {
|
@include larger-than($xxl) {
|
||||||
.tri-layout-left-contents, .tri-layout-right-contents {
|
.tri-layout-left-contents, .tri-layout-right-contents {
|
||||||
|
|
Loading…
Reference in New Issue