Skip to content

Commit 9605d0b

Browse files
committed
Fix spacing issues on unsub and 404 page
1 parent e1083bb commit 9605d0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pages/404.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const NotFound: Page = ({ }) => {
1616
<Head>
1717
<title>404 - Commit Rocket</title>
1818
</Head>
19-
<main className="flex items-center justify-center flex-1 w-full" aria-labelledby="not-found">
19+
<main className="flex items-center justify-center flex-1 w-full pb-8" aria-labelledby="not-found">
2020
<div className="flex flex-col gap-2 p-4 text-center rounded-md shadow shadow-black/25 bg-primary/25">
2121
<h1 id="not-found" className="text-5xl text-secondary">Not Found.</h1>
2222
<p>There are no commits to be found here!</p>

src/pages/mail/unsubscribe.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ const UnsubscribePage: Page = ({ }) => {
6161
<Head>
6262
<title>Commit Rocket</title>
6363
</Head>
64-
<main className="flex items-center justify-center flex-1 w-full" aria-labelledby="not-found">
64+
<main className="flex items-center justify-center flex-1 w-full pb-8" aria-labelledby="unsubscribe">
6565
<form className="flex flex-col gap-4 p-4 text-center rounded-md shadow shadow-black/25 bg-primary/25" onSubmit={submit}>
66-
<h1 id="not-found" className="text-5xl text-secondary">Unsubscribe</h1>
66+
<h1 id="unsubscribe" className="text-5xl text-secondary">Unsubscribe</h1>
6767
<p className="max-w-md">Once you unsubscribe you won't receive any more emails from us and your email will be immediately deleted from our records.</p>
6868
<AnimatePresence mode="wait">
6969
{(!response || response.success === false) && <motion.div

0 commit comments

Comments
 (0)