diff options
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 35df97df..79921e22 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%] aspect-square object-contain' + className='w-[85%] 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%] aspect-square object-contain' + className='w-[85%] aspect-square object-contain' /> </div> )} |
