chore: fix shadcn/ui not applying styling

https://stackoverflow.com/a/79431749

rebase
This commit is contained in:
afiqzudinhadi 2025-06-06 00:18:06 +08:00
parent 64feeaa877
commit 460b092a6f
6 changed files with 810 additions and 465 deletions

View file

@ -1,6 +1,5 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";
@config "../../tailwind.config.ts";
@layer base {
:root {
@ -66,3 +65,25 @@
@apply bg-background text-foreground;
}
}
html {
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: hsl(var(--muted));
}
::-webkit-scrollbar-thumb {
background: hsl(var(--border));
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground));
}