styling changes
*dmp-user-field > fit internal/external option
This commit is contained in:
parent
efd6f5df47
commit
923872d3b8
|
@ -34,10 +34,10 @@
|
||||||
<span *ngIf="!isUserSelected(userIndex)" style="font-size: 18px; box-sizing: border-box; display: inline-block; padding: 0.85rem 0.435rem 0 0.435rem;">{{userIndex + 1}}</span>
|
<span *ngIf="!isUserSelected(userIndex)" style="font-size: 18px; box-sizing: border-box; display: inline-block; padding: 0.85rem 0.435rem 0 0.435rem;">{{userIndex + 1}}</span>
|
||||||
<mat-icon *ngIf="isUserSelected(userIndex)" [ngClass]="{'drag-handle-disabled': form.disabled}" cdkDragHandle class="drag-handle">drag_indicator</mat-icon>
|
<mat-icon *ngIf="isUserSelected(userIndex)" [ngClass]="{'drag-handle-disabled': form.disabled}" cdkDragHandle class="drag-handle">drag_indicator</mat-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto user-field">
|
||||||
<mat-button-toggle-group name="fontStyle" aria-label="Font Style" [formControl]="user.get('userType')">
|
<mat-button-toggle-group name="fontStyle" aria-label="Font Style" [formControl]="user.get('userType')" class="w-100">
|
||||||
<div *ngFor="let userType of dmpUserTypeEnumValues">
|
<div *ngFor="let userType of dmpUserTypeEnumValues" class="col p-0">
|
||||||
<mat-button-toggle class="lang-button" [value]="userType">{{enumUtils.toDmpUserTypeString(userType)}}</mat-button-toggle>
|
<mat-button-toggle class="lang-button w-100" [value]="userType">{{enumUtils.toDmpUserTypeString(userType)}}</mat-button-toggle>
|
||||||
</div>
|
</div>
|
||||||
</mat-button-toggle-group>
|
</mat-button-toggle-group>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width:1400px) {
|
@media (max-width:1600px) {
|
||||||
|
|
||||||
.user-fields {
|
.user-fields {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -23,5 +23,6 @@
|
||||||
|
|
||||||
.user-field {
|
.user-field {
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue