refactor(styles): unify scrollbar styles (#990)
This commit is contained in:
-16
@@ -2,27 +2,11 @@
|
||||
height: calc(100dvh - 6.7rem);
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgb(20 20 30 / 50%);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
}
|
||||
|
||||
@media (width <= 768px) {
|
||||
.dashboard-container {
|
||||
height: calc(100dvh - 5rem);
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user