0
Fork 0
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:
Gao Sun 2021-07-26 22:39:49 +08:00
parent cb7d53b05d
commit aa67e21bb1
4 changed files with 5 additions and 5 deletions

View file

@ -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();

View file

@ -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"
}

View file

@ -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;

View file

@ -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}