Changes
This commit is contained in:
parent
6b39eb0b5a
commit
ca584b3397
@ -329,10 +329,7 @@
|
|||||||
<ng-container matColumnDef="Sponsor_Qty">
|
<ng-container matColumnDef="Sponsor_Qty">
|
||||||
<mat-header-cell *matHeaderCellDef > Sponsored Qty </mat-header-cell>
|
<mat-header-cell *matHeaderCellDef > Sponsored Qty </mat-header-cell>
|
||||||
<mat-cell data-label="Sponsored Qty" *matCellDef="let row;let i = index"> <input step="1" min="1" max="" title="Qty" [(ngModel)]="sponsor_qty[i]" class="text" size="2" type="number" (change)="somethingChanged($event.target.value,i,row.cost_per_unit,row.mat_id,row)"
|
<mat-cell data-label="Sponsored Qty" *matCellDef="let row;let i = index"> <input step="1" min="1" max="" title="Qty" [(ngModel)]="sponsor_qty[i]" class="text" size="2" type="number" (change)="somethingChanged($event.target.value,i,row.cost_per_unit,row.mat_id,row)"
|
||||||
[ngClass]="{
|
class="sponsor_input"> </mat-cell>
|
||||||
'sponsor_input_desk':clientWidth >= 500,
|
|
||||||
'sponsor_input_mob':clientWidth <= 500
|
|
||||||
}" > </mat-cell>
|
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<!-- price Column -->
|
<!-- price Column -->
|
||||||
|
|||||||
@ -378,20 +378,24 @@ table {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
.mat-column-Balance_Qty{
|
.mat-column-balance_Qty{
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
.mat-column-Cost_Per_Unit{
|
.mat-column-Cost_Per_Unit{
|
||||||
justify-content: right;
|
flex: 0 0 12%;
|
||||||
|
justify-content: flex-end !important;
|
||||||
}
|
}
|
||||||
.mat-column-Amount{
|
.mat-column-Amount{
|
||||||
justify-content: right;
|
justify-content: flex-end !important;
|
||||||
}
|
}
|
||||||
.sponsor_input_desk{
|
.sponsor_input{
|
||||||
width: 100% ;
|
width: 100% ;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.sponsor_input_mob{
|
@media(max-width:580px){
|
||||||
width: 30%;
|
.sponsor_input{
|
||||||
|
width:30%;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user