mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
fix(sign-in): update style and locale
This commit is contained in:
parent
cb7d53b05d
commit
aa67e21bb1
4 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
@use '/src/scss/underscore' as _;
|
||||
|
||||
.messageBox {
|
||||
font: var(--font-body);
|
||||
font: var(--font-body-bold);
|
||||
padding: _.unit(2) _.unit(5);
|
||||
border-radius: _.unit();
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"translation": {
|
||||
"sign_in": "Sign In",
|
||||
"sign_in.loading": "Signing in...",
|
||||
"sign_in.error": "Username or password invalid.",
|
||||
"sign_in.error": "Username or password is invalid.",
|
||||
"sign_in.username": "Username",
|
||||
"sign_in.password": "Password"
|
||||
}
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
}
|
||||
|
||||
.box {
|
||||
margin-top: _.unit(3);
|
||||
margin-bottom: _.unit(-6);
|
||||
}
|
||||
|
||||
> input:not([type='button']) {
|
||||
> input:not([type='button']),
|
||||
.box {
|
||||
margin-top: _.unit(3);
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
|
|
|
@ -28,7 +28,7 @@ const Home = () => {
|
|||
|
||||
return (
|
||||
<form className={styles.wrapper}>
|
||||
<div className={styles.title}>登录 Logto</div>
|
||||
<div className={styles.title}>Sign in to Logto</div>
|
||||
<Input
|
||||
autoComplete="username"
|
||||
isDisabled={isLoading}
|
||||
|
|
Loading…
Add table
Reference in a new issue