feat: remove default inner padding for dashboard pages

This commit is contained in:
2025-05-30 21:26:43 +02:00
parent 66edadfeda
commit 5b816c6873
2 changed files with 8 additions and 7 deletions

View File

@ -19,16 +19,17 @@ const DashboardLayout: FC = () => {
</div> </div>
</div> </div>
<CardContent className="w-full space-y-4 flex-1" spacing={false}> <CardContent
className="w-full space-y-4 flex-1 bg-black/5 dark:bg-white/5"
spacing={false}
>
<div className="flex flex-row"> <div className="flex flex-row">
<Sidebar /> <Sidebar />
<div className="sm:p-4 max-w-full flex-1"> <div className="max-w-full flex-1">
<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>
<div className="p-4"> <Outlet />
<Outlet />
</div>
</div> </div>
</div> </div>
</CardContent> </CardContent>

View File

@ -7,7 +7,7 @@ const PersonalInfoPage: FC = () => {
const profile = useAuth((state) => state.profile); const profile = useAuth((state) => state.profile);
return ( return (
<> <div className="p-4 sm:p-8">
<h1 className="dark:text-gray-200 text-gray-800 text-2xl"> <h1 className="dark:text-gray-200 text-gray-800 text-2xl">
Your profile info in Home services Your profile info in Home services
</h1> </h1>
@ -61,7 +61,7 @@ const PersonalInfoPage: FC = () => {
</div> </div>
</div> </div>
</div> </div>
</> </div>
); );
}; };