Skip to content

Commit 8ee1f0d

Browse files
committed
Refactor ResetPassword.vue layout by adjusting spacing and improving form structure for better user experience.
1 parent 82b2ac5 commit 8ee1f0d

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

stubs/resources/js/Pages/AdminAuth/ResetPassword.vue

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<AppAuthShell>
33
<AppAuthLogo />
44

5-
<AppCard class="min-w-[360px] space-y-6 px-16">
5+
<AppCard class="min-w-[360px] space-y-4">
66
<template #title>
7-
<h3 class="text-2xl font-semibold tracking-tight">
7+
<h3 class="font-semibold tracking-tight">
88
{{ __('Password Reset') }}
99
</h3>
1010
</template>
@@ -17,7 +17,7 @@
1717
<AppFormErrors class="mb-4" />
1818

1919
<form>
20-
<div>
20+
<div class="mb-4">
2121
<AppLabel for="email">{{ __('Email') }}</AppLabel>
2222
<AppInputText
2323
id="email"
@@ -30,7 +30,7 @@
3030
/>
3131
</div>
3232

33-
<div class="mt-6">
33+
<div class="mb-4">
3434
<AppLabel for="email">{{ __('Password') }}</AppLabel>
3535
<AppInputPassword
3636
id="password"
@@ -44,7 +44,7 @@
4444
/>
4545
</div>
4646

47-
<div class="mt-6">
47+
<div class="mb-4">
4848
<AppLabel for="password_confirmation">{{
4949
__('Password Confirmation')
5050
}}</AppLabel>
@@ -58,13 +58,11 @@
5858
}"
5959
/>
6060
</div>
61-
</form>
62-
</template>
6361

64-
<template #footer>
65-
<AppButton class="btn btn-primary" @click="submitForm">
66-
{{ __('Save') }}
67-
</AppButton>
62+
<AppButton class="btn btn-primary" @click="submitForm">
63+
{{ __('Save') }}
64+
</AppButton>
65+
</form>
6866
</template>
6967
</AppCard>
7068
</AppAuthShell>

0 commit comments

Comments
 (0)