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 -->
<ng-container matColumnDef="points">
<mat-header-cell *matHeaderCellDef class="center" fxFlex>Service Points</mat-header-cell>
<mat-cell *matCellDef="let row; let i = index" class="center" [formGroupName]="i" fxFlex>
<mat-form-field>
<button matPrefix (click)="less(row, i)">
<mat-header-cell *matHeaderCellDef class="center">Service Points</mat-header-cell>
<mat-cell *matCellDef="let row; let i = index" class="center" [formGroupName]="i">
<mat-form-field fxFlex="80%">
<button
mat-stroked-button
mat-icon-button
color="warn"
matPrefix
(click)="less(row, i)"
>
<mat-icon>remove</mat-icon>
</button>
<input
@ -63,8 +69,15 @@
formControlName="points"
autocomplete="off"
(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>
</button>
</mat-form-field>