fix: set the scrollbar-track background to transparent (#228)

The body has this transition: 'transition: background-color 0.3s ease
0s'. Setting the scrollbar-track's background-color of the horizontal
scrollbar of the Archives page to transparent will make us to appreciate
that transition when switching the background-color.
This commit is contained in:
k 2021-06-19 13:48:40 -05:00 committed by GitHub
parent ed4a1bc56e
commit 028ae12ea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@
/* scrollbar styles for Firefox */ /* scrollbar styles for Firefox */
scrollbar-width: auto; scrollbar-width: auto;
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); scrollbar-color: var(--scrollbar-thumb) transparent;
/* scrollbar styles for Chromium */ /* scrollbar styles for Chromium */
&::-webkit-scrollbar { &::-webkit-scrollbar {
@ -66,7 +66,7 @@
} }
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
background-color: var(--scrollbar-track); background-color: transparent;
} }
/**/ /**/