Skip to content

Commit b813cf9

Browse files
committed
Add padding to container
1 parent 2fc13ba commit b813cf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/_app.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ export default function App({ Component, pageProps, router }: AppProps) {
4747
<Head>
4848
<title>Commit Rocket</title>
4949
</Head>
50-
<div className={"flex flex-col items-center overflow-auto" + openSans.variable}>
50+
<div className={"flex flex-col overflow-auto" + openSans.variable}>
5151
<Header />
5252

5353
<AnimatePresence mode="wait">
54-
<motion.main
54+
<motion.div
5555
key={router.pathname}
56-
className="flex flex-col flex-1 w-full"
56+
className="flex flex-col items-center flex-1 w-full px-8"
5757
initial="initial"
5858
animate="animate"
5959
exit="exit"
@@ -66,7 +66,7 @@ export default function App({ Component, pageProps, router }: AppProps) {
6666
reduceMotion={reduceMotion}
6767
{...pageProps}
6868
/>
69-
</motion.main>
69+
</motion.div>
7070
</AnimatePresence>
7171
</div>
7272
</MotionConfig>

0 commit comments

Comments
 (0)