options to enable scrollbars and disable sticky headers
This commit is contained in:
parent
d3d219f15d
commit
b5ded67c06
7 changed files with 42 additions and 10 deletions
27
src/App.scss
27
src/App.scss
|
@ -59,6 +59,7 @@ nav {
|
|||
#content {
|
||||
overscroll-behavior-y: none;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
|
@ -136,6 +137,19 @@ nav {
|
|||
max-height: calc(100vh - var(--navbar-height));
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin-left: -2em;
|
||||
padding-left: 2.5em;
|
||||
|
||||
&:not(.-show-scrollbar) {
|
||||
scrollbar-width: none;
|
||||
margin-right: -2em;
|
||||
padding-right: 2.5em;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: block;
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.panel-heading.-sticky {
|
||||
top: -10px;
|
||||
|
@ -143,6 +157,15 @@ nav {
|
|||
}
|
||||
}
|
||||
|
||||
&.-no-sticky-headers {
|
||||
.column {
|
||||
.panel-heading.-sticky {
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.column-inner {
|
||||
display: grid;
|
||||
grid-template-columns: 100%;
|
||||
|
@ -186,10 +209,6 @@ nav {
|
|||
|
||||
#content,
|
||||
.column.-scrollable {
|
||||
&::-webkit-scrollbar {
|
||||
display: block;
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.text-center {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue