mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Hide system scrollbar when custom scrollbars is activated
This commit is contained in:
parent
3575de6696
commit
c3a91ff29a
@ -56,6 +56,10 @@ body, #overall-main-content {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
body.custom-scrollbars main {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
main {
|
||||
overflow-y: scroll;
|
||||
min-height: calc(100vh - 80px);
|
||||
|
@ -368,6 +368,7 @@
|
||||
autoHideScrollbar: !showScrollbar,
|
||||
theme: scrollbarTheme
|
||||
});
|
||||
$("body").addClass("custom-scrollbars");
|
||||
}
|
||||
|
||||
if (disabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user