Adjusting the vertical scroll bar when using sticky

pull/3865/head
IgorA100 2024-03-13 20:50:25 +03:00 committed by GitHub
parent 66364c7c32
commit b10511fb97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -37,10 +37,14 @@ input.large {
#options {
/* margin-right: -15px;*/ /* you shouldn't do this for the sake of shifting the scrool bar, it breaks the style in different places. done differently*/
width: 100%;
margin-top: 15px;
}
body.sticky #sidebar, body.sticky #options {
body.sticky #options {
height: calc(100% - 50px); /* It's bad, but it's temporary */
overflow-y: auto;
}
body.sticky #sidebar {
height: 100%;
overflow-y: auto;
}