N-FIN-32: move padding to global layout
This commit is contained in:
parent
de13aa5625
commit
87ffc64995
5 changed files with 6 additions and 6 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-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"/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue