change styles for scrollbars

This commit is contained in:
Tamius Han 2025-01-28 00:48:20 +01:00
parent aef5665cb5
commit f728cbf817

View File

@ -40,8 +40,6 @@ body {
padding-right: 1em; padding-right: 1em;
} }
/* overflow stuff */ /* overflow stuff */
.overflow-y-auto { .overflow-y-auto {
overflow: auto; overflow: auto;
@ -52,6 +50,19 @@ body {
scrollbar-color: rgba($primary-color, 0.5) $background-primary; scrollbar-color: rgba($primary-color, 0.5) $background-primary;
} }
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(#fa6, 0.5);
border-radius: 20px;
border: transparent;
}
/* scrollbars for chrome/webkit */ /* scrollbars for chrome/webkit */
.overflow-y-auto::-webkit-scrollbar { .overflow-y-auto::-webkit-scrollbar {