Only show scrollbar on div hover

This commit is contained in:
Andrew Godwin 2022-11-21 21:35:47 -07:00
parent 53d9452917
commit 1d37dce012
1 changed files with 7 additions and 2 deletions

View File

@ -818,11 +818,16 @@ h1.identity small {
scrollbar-color: var(--color-bg-main) var(--color-text-duller);
}
*::-webkit-scrollbar {
div::-webkit-scrollbar {
background: var(--color-bg-main);
width: 7px;
}
div::-webkit-scrollbar-thumb {
background: var(--color-bg-main);
}
*::-webkit-scrollbar-thumb {
div:hover::-webkit-scrollbar-thumb {
background: var(--color-text-dull);
}