N-FIN-32: move global padding to root layout (#35)
This commit is contained in:
commit
fd31d58186
6 changed files with 7 additions and 7 deletions
|
@ -25,6 +25,6 @@ export default async function CategoriesPage() {
|
|||
categories={categories}
|
||||
onSubmit={categoryCreateUpdate}
|
||||
onDelete={categoryDelete}
|
||||
className="flex flex-col justify-center space-y-4 p-10"/>
|
||||
className="flex flex-col justify-center space-y-4"/>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -28,6 +28,6 @@ export default async function EntitiesPage() {
|
|||
entities={entities}
|
||||
onSubmit={entityCreateUpdate}
|
||||
onDelete={entityDelete}
|
||||
className="flex flex-col justify-center space-y-4 p-10"/>
|
||||
className="flex flex-col justify-center space-y-4"/>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -22,10 +22,10 @@ export default function RootLayout({
|
|||
<html lang="en">
|
||||
<body className={cn('dark', inter.className)}>
|
||||
<Navigation/>
|
||||
<main>
|
||||
<main className="p-4 sm:p-8">
|
||||
{children}
|
||||
<Toaster/>
|
||||
</main>
|
||||
<Toaster/>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
|
|
@ -200,7 +200,7 @@ export default async function DashboardPage(props: { searchParams?: { scope: Sco
|
|||
categoryPercentages={categoryPercentages}
|
||||
entityExpenses={entityExpensesFormat}
|
||||
entityPercentages={entityPercentages}
|
||||
className="flex flex-col justify-center space-y-4 p-10"
|
||||
className="flex flex-col justify-center space-y-4"
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -58,6 +58,6 @@ export default async function PaymentsPage() {
|
|||
categories={categories}
|
||||
onSubmit={paymentCreateUpdate}
|
||||
onDelete={paymentDelete}
|
||||
className="flex flex-col justify-center space-y-4 p-10"/>
|
||||
className="flex flex-col justify-center space-y-4"/>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ export default function Navigation() {
|
|||
return (
|
||||
<div className="flex sticky items-center border-b border-border bg-background">
|
||||
<NavigationMenu>
|
||||
<NavigationMenuList className="flex w-screen items-center justify-between px-4 py-2">
|
||||
<NavigationMenuList className="flex w-screen items-center justify-between sm:px-4 py-2">
|
||||
<div className="inline-flex space-x-2">
|
||||
|
||||
<img src={'/logo_white.png'} alt="Finances" className="h-10 w-10 mx-3"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue