Make scrollbars make sense.

This commit is contained in:
Gness Erquint
2025-04-20 22:44:33 +03:00
parent fc892b4514
commit 7be1b039ac

View File

@@ -157,11 +157,23 @@ body {
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
width: 0.7rem;
scrollbar-gutter: stable;
}
::-webkit-scrollbar-track {
cursor: default;
background-color: rgba(126, 126, 126, 0.2); /* Adaptive, but won't contrast with neutral-gray. */
}
::-webkit-scrollbar-thumb {
cursor: grab;
}
::-webkit-scrollbar-thumb:active {
cursor: grabbing;
}
.scrollY {
overflow-y: auto !important;
}