Fix: The look of the incentive component

This commit is contained in:
Amritanshu Agrawal 2021-01-27 09:20:52 +05:30
parent a883d5ab1c
commit faea622ffc

View File

@ -52,10 +52,16 @@
<!-- Points Column --> <!-- Points Column -->
<ng-container matColumnDef="points"> <ng-container matColumnDef="points">
<mat-header-cell *matHeaderCellDef class="center" fxFlex>Service Points</mat-header-cell> <mat-header-cell *matHeaderCellDef class="center">Service Points</mat-header-cell>
<mat-cell *matCellDef="let row; let i = index" class="center" [formGroupName]="i" fxFlex> <mat-cell *matCellDef="let row; let i = index" class="center" [formGroupName]="i">
<mat-form-field> <mat-form-field fxFlex="80%">
<button matPrefix (click)="less(row, i)"> <button
mat-stroked-button
mat-icon-button
color="warn"
matPrefix
(click)="less(row, i)"
>
<mat-icon>remove</mat-icon> <mat-icon>remove</mat-icon>
</button> </button>
<input <input
@ -63,8 +69,15 @@
formControlName="points" formControlName="points"
autocomplete="off" autocomplete="off"
(change)="change(row, i)" (change)="change(row, i)"
fxFlex="80%"
/> />
<button matSuffix color="warn" (click)="more(row, i)"> <button
mat-stroked-button
mat-icon-button
color="primary"
matSuffix
(click)="more(row, i)"
>
<mat-icon>add</mat-icon> <mat-icon>add</mat-icon>
</button> </button>
</mat-form-field> </mat-form-field>