Table refactor

This commit is contained in:
Yiğit FINDIKLI 2021-12-24 11:04:14 +03:00
parent b6ab94030c
commit 269f5a0ae8

View File

@ -74,12 +74,12 @@
</ng-template> </ng-template>
<ng-template pTemplate="body" let-product> <ng-template pTemplate="body" let-product>
<tr> <tr>
<td style="min-width: 5rem;"> <td style="width: 15%; min-width: 5rem;">
<img src="../../../assets/demo/images/product/{{product.image}}" class="shadow-4" alt="{{product.name}}" width="50"> <img src="../../../assets/demo/images/product/{{product.image}}" class="shadow-4" alt="{{product.name}}" width="50">
</td> </td>
<td style="min-width: 7rem;">{{product.name}}</td> <td style="width: 35%; min-width: 7rem;">{{product.name}}</td>
<td style="min-width: 8rem;">{{product.price | currency:'USD'}}</td> <td style="width: 35%; min-width: 8rem;">{{product.price | currency:'USD'}}</td>
<td> <td style="width: 15%;">
<button pButton pRipple type="button" icon="pi pi-search" class="p-button p-component p-button-text p-button-icon-only"></button> <button pButton pRipple type="button" icon="pi pi-search" class="p-button p-component p-button-text p-button-icon-only"></button>
</td> </td>
</tr> </tr>