login fixes, auth message and alignment

This commit is contained in:
Kris 2018-05-25 19:15:39 -04:00
parent c91071bb2a
commit cc0a5f4526
3 changed files with 16 additions and 5 deletions

View File

@ -51,8 +51,7 @@
{{/second-factor-form}}
</form>
{{/if}}
{{authMessage}}
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
{{/d-modal-body}}
<div class="modal-footer">
@ -74,4 +73,6 @@
{{/if}}
{{/if}}
</div>
<div class="auth-message">{{authMessage}}</div>
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
{{/login-modal}}

View File

@ -33,8 +33,6 @@
{{/second-factor-form}}
</form>
{{/if}}
{{authMessage}}
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
{{#if showLoginButtons}}
{{login-buttons
@ -66,4 +64,7 @@
{{conditional-loading-spinner condition=showSpinner size="small"}}
</div>
<div class="auth-message">{{authMessage}}</div>
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
{{/login-modal}}

View File

@ -46,6 +46,11 @@ $input-width: 220px;
width: 100%;
}
}
.modal-footer {
.inline-spinner {
display: inline-flex;
}
}
}
.create-account {
@ -138,6 +143,10 @@ $input-width: 220px;
}
}
.auth-message {
padding: 0 15px 15px 15px
}
.modal tr.instructions {
display: flex;
flex-direction: column;