feat: implement scroll to bottom

This commit is contained in:
shadcn 2023-06-11 22:58:00 +04:00
parent f15cd0c936
commit 857a99736f
5 changed files with 62 additions and 12 deletions

View file

@ -40,10 +40,10 @@ export default function RootLayout({ children }: RootLayoutProps) {
)}
>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<div className="flex h-screen flex-col">
<div className="flex min-h-screen flex-col">
{/* @ts-ignore */}
<Header />
<main className="flex-1">{children}</main>
<main className="flex-1 bg-muted/50">{children}</main>
</div>
<TailwindIndicator />
</ThemeProvider>