fix: scroll content without sidebar
This commit is contained in:
@ -20,12 +20,12 @@ const DashboardLayout: FC = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<CardContent
|
<CardContent
|
||||||
className="w-full h-full space-y-4 flex-1 bg-black/5 dark:bg-white/5"
|
className="w-full h-full max-h-full space-y-4 flex-1 bg-black/5 dark:bg-white/5"
|
||||||
spacing={false}
|
spacing={false}
|
||||||
>
|
>
|
||||||
<div className="flex flex-row">
|
<div className="flex flex-row">
|
||||||
<Sidebar />
|
<Sidebar />
|
||||||
<div className="max-w-full flex-1">
|
<div className="max-w-full flex-1 sm:max-h-screen overflow-y-auto">
|
||||||
<div className="flex flex-col w-full items-center gap-2">
|
<div className="flex flex-col w-full items-center gap-2">
|
||||||
<TopBar />
|
<TopBar />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user