feat: hide scrollbar when needed

This commit is contained in:
Pablo Lara
2024-09-27 07:47:17 +02:00
parent 1f75d70d4e
commit 840df1dab6
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export default function RootLayout({
<Providers themeProps={{ attribute: "class", defaultTheme: "dark" }}>
<div className="flex items-center h-dvh justify-center overflow-hidden">
<SidebarWrap />
<main className="container h-full flex-1 flex-col p-4 mb-auto overflow-y-auto">
<main className="container h-full flex-1 flex-col p-4 mb-auto overflow-y-auto no-scrollbar">
{children}
<Toaster />
</main>