diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-23 11:40:12 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-23 11:40:12 +0700 |
| commit | 1cb3a8da9091bb2925898b72e3dadf7a521dfc0b (patch) | |
| tree | 736e7df6c55bce6096b1623b0714ec3c3e4d6881 /src-migrate/modules | |
| parent | c21aa43ed120ec0bbda0884f6f55ba15eb868a09 (diff) | |
<Miqdad> fix stock prod detail
Diffstat (limited to 'src-migrate/modules')
| -rw-r--r-- | src-migrate/modules/product-detail/components/PriceAction.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src-migrate/modules/product-detail/components/PriceAction.tsx b/src-migrate/modules/product-detail/components/PriceAction.tsx index ffc9ba40..0a9cb2df 100644 --- a/src-migrate/modules/product-detail/components/PriceAction.tsx +++ b/src-migrate/modules/product-detail/components/PriceAction.tsx @@ -159,7 +159,7 @@ const PriceAction = ({ product }: Props) => { <DesktopView> <div className='h-4' /> - <div className='flex gap-x-5 items-center'> + <div className='flex gap-x-4 items-center'> {/* Qty */} <div className='relative flex items-center'> <button @@ -191,20 +191,20 @@ const PriceAction = ({ product }: Props) => { </div> {/* Stok */} - <div> + <div className='min-w-[89px]'> <Skeleton isLoaded={sla} h='21px' className={sla?.qty < 10 ? 'text-red-600 font-medium' : ''} > - Stock : {sla?.qty}{' '} + Stock : {sla?.qty} </Skeleton> </div> {/* Pickup badge */} - <div> + <div className='shrink-0'> {qtyPickUp > 0 && ( - <div className='flex items-center gap-2'> + <div className='flex items-center'> <Link href='/panduan-pick-up-service' className='group'> <Image src='/images/PICKUP-NOW.png' @@ -218,7 +218,7 @@ const PriceAction = ({ product }: Props) => { )} </div> </div> - <span className='text-[12px] text-red-500 italic'> + <span className='block text-[12px] text-red-500 italic mt-1'> * {qtyPickUp} barang bisa di pickup </span> </DesktopView> |
