How can I change the style of the scroll bar on the right side of the webpage to match the style of the scroll bar on the left menu bar?
version: 9.1.1-typescript
Hi,
May I know, which demo you are referring to? So you want to change the browser's main scrollbar style ?
Regards,
Sean
demo1 i think, default demo.
yes,the browser's main scrollbar style.
or can i just hide the browser's main scrollbar? and how?
hello, any progress?
Thanks
Hi,
Can you try to add the below code into vite/src/styles/globals.css
html::-webkit-scrollbar {
@apply w-2; /* Tailwind width for scrollbar */
}
html::-webkit-scrollbar-track {
@apply bg-gray-100 rounded; /* Tailwind styles for track */
}
html::-webkit-scrollbar-thumb {
@apply bg-gray-400 rounded; /* Tailwind styles for thumb */
}
html::-webkit-scrollbar-thumb:hover {
@apply bg-gray-600; /* Tailwind hover color */
}