Added a scrollbar that adapts dynamically to situations...
Added a scrollbar that adapts dynamically to situations. This scrollbar adapts to darkmode and to using mobile devices.
This commit is contained in:
parent
42366174e5
commit
9f312e1c6c
@ -41,3 +41,14 @@ rt
|
||||
|
||||
.spacer
|
||||
flex 1
|
||||
@media (hover : hover) and (pointer : fine)
|
||||
body
|
||||
scrollbar-color text-color bg-color
|
||||
::-webkit-scrollbar
|
||||
width 8px
|
||||
::-webkit-scrollbar-track
|
||||
background var(--bg-color)
|
||||
border-radius 20px
|
||||
::-webkit-scrollbar-thumb
|
||||
background var(--text-color)
|
||||
border-radius 20px
|
||||
|
Loading…
Reference in New Issue
Block a user