diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-08 12:46:12 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-08 12:46:12 +0700 |
| commit | a65744437ce3618282456cb63ff8f4bad7b1cec4 (patch) | |
| tree | 12126d9954829f50e9025f80042cfb6d1a09d24d | |
| parent | 7f501c19769ea39149fb3d0f6d45176d79a33b9a (diff) | |
<Miqdad> fix button and image size mobile
| -rw-r--r-- | src-migrate/modules/product-detail/components/AddToCart.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-migrate/modules/product-detail/components/AddToCart.tsx b/src-migrate/modules/product-detail/components/AddToCart.tsx index 9664c33a..147fd6d2 100644 --- a/src-migrate/modules/product-detail/components/AddToCart.tsx +++ b/src-migrate/modules/product-detail/components/AddToCart.tsx @@ -211,7 +211,7 @@ const AddToCart = ({ <div className='flex-1 overflow-y-auto' style={{ scrollbarWidth: 'none' }}> {/* HEADER ITEM */} <div className='flex mt-4'> - <div className='w-[10%]'> + <div className='w-[25%]'> <ImageNext src={product.image} alt={product.name} @@ -320,9 +320,9 @@ const AddToCart = ({ <div className='border-t border-gray-200 bg-white px-4 pt-3 pb-[calc(env(safe-area-inset-bottom)+12px)]'> <Link href='/shop/cart' - className='w-full block text-center btn-yellow py-3 rounded-xl font-semibold' + className='w-full mb-2 block text-center btn-yellow py-3 rounded-xl font-semibold' > - Cek Keranjang + Lihat Keranjang </Link> </div> </div> |
