diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-26 12:04:46 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-26 12:04:46 +0700 |
| commit | 2403eae1686c565364691022d294123a16f4f031 (patch) | |
| tree | bb4d7ecb245c95f820b32d6ebb21980a81ac5a89 /src-migrate/modules/product-detail/components/ProductDetail.tsx | |
| parent | bcf7be5a0c1d9635383605afc0600386b0b356ea (diff) | |
<Miqdad> Fix Breadcrumb & image
Diffstat (limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')
| -rw-r--r-- | src-migrate/modules/product-detail/components/ProductDetail.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx index 8ecdb2fc..35df97df 100644 --- a/src-migrate/modules/product-detail/components/ProductDetail.tsx +++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx @@ -161,7 +161,7 @@ return ( <img src={img} alt={`Gambar ${i + 1}`} - className='w-[80%] max-w-[320px] aspect-square object-contain' + className='w-[80%] aspect-square object-contain' onError={(e) => { (e.target as HTMLImageElement).src = '/path/to/fallback-image.jpg'; @@ -174,7 +174,7 @@ return ( <img src={mainImage || '/path/to/fallback-image.jpg'} alt='Gambar produk' - className='w-[80%] max-w-[320px] aspect-square object-contain' + className='w-[80%] aspect-square object-contain' /> </div> )} |
