(apps/ecommerce/inventory) Better image containment on row details

This commit is contained in:
sercan 2021-06-14 12:22:51 +03:00
parent 214116e10d
commit 5b78a68116

View File

@ -193,10 +193,10 @@
<!-- Product images and status -->
<div class="flex flex-col items-center sm:items-start">
<div class="flex flex-col items-center">
<div class="p-3 border rounded">
<div class="w-32 h-44 border rounded overflow-hidden">
<ng-container *ngIf="selectedProductForm.get('images').value.length; else noImage">
<img
class="w-30 min-w-30"
class="w-full h-full object-cover"
[src]="selectedProductForm.get('images').value[selectedProductForm.get('currentImageIndex').value]">
</ng-container>
<ng-template #noImage>