Moved forgot? behind the label (#8421)

pull/8416/head^2
Alex van Andel 2023-04-21 00:06:35 +02:00 committed by GitHub
parent 986f9dca8d
commit 552bfcc7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -165,14 +165,6 @@ export default function Login({
{...register("email")}
/>
<div className="relative">
<div className="z-5 absolute -top-1.5 ltr:right-0 rtl:left-0">
<Link
href="/auth/forgot-password"
tabIndex={-1}
className="text-default text-sm font-medium">
{t("forgot")}
</Link>
</div>
<PasswordField
id="password"
autoComplete="off"
@ -180,6 +172,14 @@ export default function Login({
className="mb-0"
{...register("password")}
/>
<div className="absolute -top-1.5 ltr:right-0 rtl:left-0">
<Link
href="/auth/forgot-password"
tabIndex={-1}
className="text-default text-sm font-medium">
{t("forgot")}
</Link>
</div>
</div>
</div>