fix: #975 Login registration button spacing adjustment

This commit is contained in:
shuai 2022-09-30 17:28:54 +08:00
parent ea6b0614eb
commit 6375cd90f9
2 changed files with 4 additions and 4 deletions

View File

@ -218,14 +218,14 @@ const Index: React.FC = () => {
</Form.Control.Feedback>
</Form.Group>
<div className="d-grid mb-3">
<div className="d-grid">
<Button variant="primary" type="submit" tabIndex={1}>
{t('login', { keyPrefix: 'btns' })}
</Button>
</div>
</Form>
<div className="text-center">
<div className="text-center mt-5">
<Trans i18nKey="login.info_sign" ns="translation">
Dont have an account?
<Link to="/users/register" tabIndex={2}>

View File

@ -180,14 +180,14 @@ const Index: React.FC<Props> = ({ callback }) => {
</Form.Control.Feedback>
</Form.Group>
<div className="d-grid mb-3">
<div className="d-grid">
<Button variant="primary" type="submit">
{t('signup', { keyPrefix: 'btns' })}
</Button>
</div>
</Form>
<div className="text-center">
<div className="text-center mt-5">
<Trans i18nKey="login.info_login" ns="translation">
Already have an account? <Link to="/users/login">Log in</Link>
</Trans>