set also vertical padding in layout

This commit is contained in:
Thomas Ruoff
2022-09-12 21:54:31 +02:00
parent 7013ca09ec
commit f44f7bfde8
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ export default function Home({ children }: { children: React.ReactNode }) {
return (
<>
<Header />
<main className="max-w-7xl mx-auto px-4 sm:px-6">{children}</main>
<main className="max-w-7xl mx-auto p-4 sm:p-6">{children}</main>
<Footer />
</>
)