Fix form alignment.
This commit is contained in:
parent
632669ddf4
commit
53ed56460c
@ -37,6 +37,7 @@
|
|||||||
<h4 id="passwordState" class="text-dark-50 text-center font-weight-bold"></h4>
|
<h4 id="passwordState" class="text-dark-50 text-center font-weight-bold"></h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="center-items">
|
||||||
<form [formGroup]="passwordForm" (ngSubmit)="onPasswordInput()">
|
<form [formGroup]="passwordForm" (ngSubmit)="onPasswordInput()">
|
||||||
|
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline">
|
||||||
@ -48,12 +49,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<button mat-raised-button matRipple color="primary" type="submit" class="ml-3" [disabled]="passwordFormLoading">
|
<button id="passwordLoginButton" mat-raised-button matRipple color="primary" type="submit" class="ml-3" [disabled]="passwordFormLoading">
|
||||||
<span *ngIf="passwordFormLoading" class="spinner-border spinner-border-sm mr-1"></span>
|
<span *ngIf="passwordFormLoading" class="spinner-border spinner-border-sm mr-1"></span>
|
||||||
Login
|
Login
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row mt-3">
|
<div class="row mt-3">
|
||||||
<div class="col-12 text-center">
|
<div class="col-12 text-center">
|
||||||
|
@ -29,6 +29,12 @@ a, a:hover, a:focus {
|
|||||||
perspective: 1500px;
|
perspective: 1500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.center-items {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
@ -211,6 +217,11 @@ a[data-toggle="collapse"] {
|
|||||||
overflow: initial;
|
overflow: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#passwordLoginButton {
|
||||||
|
height: 3.0rem;
|
||||||
|
padding-top: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user