From 28f9a1235fcf6fdde1983d0a4cf88fc3ba4fbdd2 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Tue, 26 Aug 2025 09:53:09 +0700 Subject: Fix lg --- .../product-detail/components/PriceAction.tsx | 54 +++++++++++++--------- 1 file changed, 32 insertions(+), 22 deletions(-) (limited to 'src-migrate/modules') diff --git a/src-migrate/modules/product-detail/components/PriceAction.tsx b/src-migrate/modules/product-detail/components/PriceAction.tsx index 60834880..2c678c6b 100644 --- a/src-migrate/modules/product-detail/components/PriceAction.tsx +++ b/src-migrate/modules/product-detail/components/PriceAction.tsx @@ -229,42 +229,47 @@ const PriceAction = ({ product }: Props) => {
{/* Kiri */} -
- - Stock : {sla?.qty}{' '} - +
+
+ + Stock : {sla?.qty} + - {qtyPickUp > 0 && ( -
+ {qtyPickUp > 0 && ( pickup now -
- * {qtyPickUp} barang bisa di pickup -
+ )} +
+ + {qtyPickUp > 0 && ( +
+ * {qtyPickUp} barang bisa di pickup
)}
{/* Kanan: hanya qty, rata kanan */}
-
+
+ setQuantityInput(e.target.value)} - className='w-12 text-center outline-none border-x' + className='h-11 md:h-12 w-16 md:w-20 text-center text-lg md:text-xl outline-none border-x + [appearance:textfield] + [&::-webkit-outer-spin-button]:appearance-none + [&::-webkit-inner-spin-button]:appearance-none' /> +
-- cgit v1.2.3