css: used tailwind to style the scrollbar so consistent between firefox and chrome
This commit is contained in:
parent
fea186924c
commit
59148bc259
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue