N-FIN-32: move padding to global layout

This commit is contained in:
Markus Thielker 2024-03-13 22:49:05 +01:00
parent de13aa5625
commit 87ffc64995
No known key found for this signature in database
5 changed files with 6 additions and 6 deletions

View file

@ -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"/>
);
}

View file

@ -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"/>
);
}

View file

@ -22,10 +22,10 @@ export default function RootLayout({
<html lang="en">
<body className={cn('dark', inter.className)}>
<Navigation/>
<main>
<main className="p-8">
{children}
<Toaster/>
</main>
<Toaster/>
</body>
</html>
);

View file

@ -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"
/>
);
}

View file

@ -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"/>
);
}