Style scrollbar #119

Merged
snedadah merged 5 commits from add-scrollbar into main 2022-12-29 03:43:08 -05:00
2 changed files with 18 additions and 3 deletions

View File

@ -33,8 +33,6 @@
.sideBarShown {
composes: sideBarCommon;
/* -1% to hide slight line tip showing in some browsers */
transform: translateX(-1%);
}
.sideBarHidden {

View File

@ -2,7 +2,8 @@ html {
scroll-behavior: smooth;
}
html, body {
html,
body {
overflow-x: hidden;
}
@ -150,4 +151,20 @@ a:hover {
--card-background: var(--dark--card-background);
--label: var(--dark--label);
}
}
/* Custom styles for scroll bars on chromium */
::-webkit-scrollbar {
width: 1em;
height: 1em;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-track:horizontal {
background: var(--card-background);
}
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:horizontal {
background-color: var(--tertiary-background);
}