fix(client): clarify login form styling
- Add spacing for the session-expired notice and distinguish login inputs. - Assert those surfaces in expired-session light and dark stories.
This commit is contained in:
1 parent
8676d6281c
commit
f2bcbe07b6
3 files changed
+29
-1
No files matched your search
@@ -31,6 +31,14 @@
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.notice {
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.form .loginInput {
|
||||
background: var(--color-bg-subtle);
|
||||
}
|
||||
|
||||
.form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -81,6 +81,7 @@ export function LoginForm({ expired = false, signedOut = false, onSubmit }: Logi
|
||||
>
|
||||
<Input
|
||||
name="username"
|
||||
className={styles.loginInput}
|
||||
label={t('auth.username')}
|
||||
autoComplete="username"
|
||||
autoCapitalize="none"
|
||||
@@ -95,6 +96,7 @@ export function LoginForm({ expired = false, signedOut = false, onSubmit }: Logi
|
||||
/>
|
||||
<Input
|
||||
name="password"
|
||||
className={styles.loginInput}
|
||||
type="password"
|
||||
label={t('auth.password')}
|
||||
autoComplete="current-password"
|
||||
|
||||
Reference in new issue
Block a user