Skip to content

Commit 4dadb5b

Browse files
authored
1 parent 2f841d0 commit 4dadb5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

routes/account/index.tsx

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ export default defineRoute<SignedInState>((_req, ctx) => {
1313
return (
1414
<>
1515
<Head title="Account" href={ctx.url.href} />
16-
<main class="max-w-lg m-auto w-full flex-1 p-4 flex flex-col justify-center">
16+
<main class="max-w-lg m-auto w-full flex-1 p-4 flex flex-col justify-center gap-8">
1717
<GitHubAvatarImg
1818
login={sessionUser.login}
1919
size={240}
20-
class="m-auto"
20+
class="mx-auto"
2121
/>
22-
<ul>
23-
<li class="py-4">
22+
<ul class="space-y-4">
23+
<li>
2424
<p>
2525
<strong>Username</strong>
2626
</p>
2727
<p>
2828
{sessionUser.login}
2929
</p>
3030
</li>
31-
<li class="py-4">
31+
<li>
3232
<p class="flex flex-wrap justify-between">
3333
<span>
3434
<strong>Subscription</strong>
@@ -51,7 +51,7 @@ export default defineRoute<SignedInState>((_req, ctx) => {
5151
</ul>
5252
<a
5353
href="/signout?success_url=/"
54-
class={`${BUTTON_STYLES} block text-center mt-8`}
54+
class={`${BUTTON_STYLES} block text-center`}
5555
>
5656
Sign out
5757
</a>

0 commit comments

Comments
 (0)