mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 18:31:45 +01:00
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:
parent
ed4a1bc56e
commit
028ae12ea5
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
|||
|
||||
/* scrollbar styles for Firefox */
|
||||
scrollbar-width: auto;
|
||||
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
|
||||
scrollbar-color: var(--scrollbar-thumb) transparent;
|
||||
|
||||
/* scrollbar styles for Chromium */
|
||||
&::-webkit-scrollbar {
|
||||
|
@ -66,7 +66,7 @@
|
|||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background-color: var(--scrollbar-track);
|
||||
background-color: transparent;
|
||||
}
|
||||
/**/
|
||||
|
||||
|
|
Loading…
Reference in a new issue