feat: remove default inner padding for dashboard pages
This commit is contained in:
@ -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>
|
||||||
|
@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user