feat: webkit scrollbar style
This commit is contained in:
parent
eb01da57c3
commit
28aebf9abc
|
@ -31,4 +31,20 @@ body {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
display: block;
|
||||||
|
width: .3rem;
|
||||||
|
background-color: #202228;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: .3rem / .3rem;
|
||||||
|
background-color: #6d7076;
|
||||||
|
|
||||||
|
transition: background-color .1s ease-in-out;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: #a9acb2;
|
||||||
}
|
}
|
Loading…
Reference in New Issue