css: used tailwind to style the scrollbar so consistent between firefox and chrome

This commit is contained in:
Tigor Hutasuhut 2024-05-04 11:28:11 +07:00
parent fea186924c
commit 59148bc259

View file

@ -1,3 +1,23 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
::-webkit-scrollbar {
@apply w-2 h-2;
}
::-webkit-scrollbar:hover {
@apply scale-110;
}
::-webkit-scrollbar-track {
@apply bg-base-100;
}
::-webkit-scrollbar-thumb {
@apply bg-base-200 rounded-xl;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-base-300;
}