mirror of https://gitee.com/answerdev/answer.git
fix: #975 Login registration button spacing adjustment
This commit is contained in:
parent
0cf70cb7c0
commit
d8354224d4
|
@ -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">
|
||||
Don’t have an account?
|
||||
<Link to="/users/register" tabIndex={2}>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue