2FA fixes for login modal (#12221)

This commit is contained in:
Kris 2021-02-26 00:33:34 -05:00 committed by GitHub
parent 3fc72543de
commit 3f21d41b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -180,6 +180,19 @@
} }
} }
.login-modal.second-factor.modal-body {
max-width: 30em;
.login-left-side {
width: 100%;
#login-form {
margin: 2em 0 0 0;
}
}
#new-account-link {
display: none;
}
}
// styles used on the // styles used on the
// create account // create account
// modal only // modal only

View File

@ -148,6 +148,14 @@
} }
} }
.d-modal .login-modal {
&.second-factor + .modal-footer {
#new-account-link {
display: none;
}
}
}
.login-modal:not(.hidden).has-alt-auth.no-local-login { .login-modal:not(.hidden).has-alt-auth.no-local-login {
#login-buttons:not(.hidden) { #login-buttons:not(.hidden) {
width: 100%; width: 100%;