How to Disable ScrollBar Customization of DaisyUI #3113
-
So, i have a global.css file in my project where i defined some custom properties for the scrollbars `@tailwind base; @layer utilities { .scrollbar::-webkit-scrollbar-track { .scrollbar::-webkit-scrollbar-thumb { .scrollbar::-webkit-scrollbar-thumb:hover { so, when i installed DaisyUi, the scrollbar was all set to some other default Properties |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
tailwind changes the *,
*:hover {
scrollbar-color: auto;
}
see: https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar |
Beta Was this translation helpful? Give feedback.
tailwind changes the
scrollbar-color
property of everything on your page. can you try adding this to remove the tailwind stylessee: https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar