mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-09 12:05:08 +00:00
(apps/ecommerce/inventory) Better image containment on row details
This commit is contained in:
parent
214116e10d
commit
5b78a68116
|
@ -193,10 +193,10 @@
|
||||||
<!-- Product images and status -->
|
<!-- Product images and status -->
|
||||||
<div class="flex flex-col items-center sm:items-start">
|
<div class="flex flex-col items-center sm:items-start">
|
||||||
<div class="flex flex-col items-center">
|
<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">
|
<ng-container *ngIf="selectedProductForm.get('images').value.length; else noImage">
|
||||||
<img
|
<img
|
||||||
class="w-30 min-w-30"
|
class="w-full h-full object-cover"
|
||||||
[src]="selectedProductForm.get('images').value[selectedProductForm.get('currentImageIndex').value]">
|
[src]="selectedProductForm.get('images').value[selectedProductForm.get('currentImageIndex').value]">
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #noImage>
|
<ng-template #noImage>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user