mirror of https://gitee.com/answerdev/answer.git
fix: #975 Login registration button spacing adjustment
This commit is contained in:
parent
ea6b0614eb
commit
6375cd90f9
|
@ -218,14 +218,14 @@ const Index: React.FC = () => {
|
||||||
</Form.Control.Feedback>
|
</Form.Control.Feedback>
|
||||||
</Form.Group>
|
</Form.Group>
|
||||||
|
|
||||||
<div className="d-grid mb-3">
|
<div className="d-grid">
|
||||||
<Button variant="primary" type="submit" tabIndex={1}>
|
<Button variant="primary" type="submit" tabIndex={1}>
|
||||||
{t('login', { keyPrefix: 'btns' })}
|
{t('login', { keyPrefix: 'btns' })}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
<div className="text-center">
|
<div className="text-center mt-5">
|
||||||
<Trans i18nKey="login.info_sign" ns="translation">
|
<Trans i18nKey="login.info_sign" ns="translation">
|
||||||
Don’t have an account?
|
Don’t have an account?
|
||||||
<Link to="/users/register" tabIndex={2}>
|
<Link to="/users/register" tabIndex={2}>
|
||||||
|
|
|
@ -180,14 +180,14 @@ const Index: React.FC<Props> = ({ callback }) => {
|
||||||
</Form.Control.Feedback>
|
</Form.Control.Feedback>
|
||||||
</Form.Group>
|
</Form.Group>
|
||||||
|
|
||||||
<div className="d-grid mb-3">
|
<div className="d-grid">
|
||||||
<Button variant="primary" type="submit">
|
<Button variant="primary" type="submit">
|
||||||
{t('signup', { keyPrefix: 'btns' })}
|
{t('signup', { keyPrefix: 'btns' })}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
<div className="text-center">
|
<div className="text-center mt-5">
|
||||||
<Trans i18nKey="login.info_login" ns="translation">
|
<Trans i18nKey="login.info_login" ns="translation">
|
||||||
Already have an account? <Link to="/users/login">Log in</Link>
|
Already have an account? <Link to="/users/login">Log in</Link>
|
||||||
</Trans>
|
</Trans>
|
||||||
|
|
Loading…
Reference in New Issue