fix: move forgot password link below sign-in button
All checks were successful
CI / build (push) Successful in 2m0s
CI / docker (push) Successful in 1m7s

Repositions the "Forgot password?" link from above the sign-in button
to below it, matching the desired layout. Updates link style to be
centered with link color instead of right-aligned muted text.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-27 16:05:50 +02:00
parent f325416833
commit 9231a1fc60
3 changed files with 15 additions and 16 deletions

View File

@@ -100,13 +100,12 @@
background: none;
border: none;
cursor: pointer;
color: var(--text-muted);
color: var(--text-link, #C6820E);
font-size: 13px;
padding: 0;
text-decoration: underline;
text-align: right;
align-self: flex-end;
margin-top: -8px;
text-decoration: none;
text-align: center;
align-self: center;
}
.forgotLink:hover {

View File

@@ -351,16 +351,6 @@ export function SignInPage() {
</div>
</FormField>
{emailConnectorConfigured && (
<button
type="button"
className={styles.forgotLink}
onClick={() => { setError(null); setMode('forgotPassword'); }}
>
Forgot password?
</button>
)}
<Button
variant="primary"
type="submit"
@@ -371,6 +361,16 @@ export function SignInPage() {
Sign in
</Button>
{emailConnectorConfigured && (
<button
type="button"
className={styles.forgotLink}
onClick={() => { setError(null); setMode('forgotPassword'); }}
>
Forgot password?
</button>
)}
{registrationEnabled && (
<p className={styles.switchText}>
Don't have an account?{' '}