summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-10-24 16:52:08 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-10-24 16:52:08 +0700
commit6740ee319d642cbfdb3466eaa55644dcd30db1b4 (patch)
treebafb075a2d44184b8b1246abea963245e0c35bbf
parent54dacd110fdbd0f40961c884ec02b1a37189b218 (diff)
<Miqdad> FIx style
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx20
1 files changed, 11 insertions, 9 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index cfc27ffd..ef609fcf 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -290,15 +290,17 @@ const ProductDetail = ({ product }: Props) => {
{/* ===== Kolom kanan: info ===== */}
<div className='md:w-8/12 px-4 md:pl-6'>
<div className='h-6 md:h-0' />
- <div className='text text-sm'>
- <TicketIcon className='inline text-yellow-300 w-5 h-5' />
- Pakai{' '}
- <span className='text-green-600 font-extrabold'>
- {' '}
- Voucher belanja hemat {currencyFormat(voucherDiscount)} saat
- checkout
- </span>
- </div>
+ {isMobile && (
+ <div className='text text-sm font-medium'>
+ <TicketIcon className='inline text-yellow-300 w-5 h-5' />{' '}
+ Pakai{' '}
+ <span className='text-green-600 font-extrabold'>
+ {' '}
+ Voucher belanja hemat {currencyFormat(voucherDiscount)}
+ </span>{' '}
+ saat checkout
+ </div>
+ )}
<h1 className={style['title']}>{product.name}</h1>
<div className='h-3 md:h-0' />
<Information product={product} />