Add custom scrollbar

This commit is contained in:
Sat Naing
2022-09-19 23:16:02 +06:30
parent cc58aca6ee
commit 2a464e8860
+25
View File
@@ -65,6 +65,31 @@
#article details {
@apply cursor-pointer inline-block select-none;
}
/* ===== scrollbar ===== */
html {
overflow-y: scroll;
}
/* width */
::-webkit-scrollbar {
@apply w-3;
}
/* Track */
::-webkit-scrollbar-track {
@apply bg-skin-fill;
}
/* Handle */
::-webkit-scrollbar-thumb {
@apply bg-skin-card;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
@apply bg-skin-card-muted;
}
}
@layer components {