From e3ac82b208312c52835ecd73e03beecd9137b55e Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 28 Aug 2024 09:07:51 +0700
Subject: <iman> update font style

---
 src/lib/product/components/ProductCard.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/lib/product/components/ProductCard.jsx')

diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 35e2a665..c5e82c82 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -128,7 +128,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
                       width={13}
                       height={5}
                     />
-                    <span className='text-white text-[9px] md:text-[10px] font-semibold'>
+                    <span className='text-white text-[9px] md:text-[10px] text-nowrap font-semibold'>
                       {product?.flashSale?.tag != 'false' ||
                       product?.flashSale?.tag
                         ? product?.flashSale?.tag
@@ -218,11 +218,11 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
 
           <div className='flex w-full items-center gap-x-1 '>
             {product?.stockTotal > 0 && (
-              <div className='badge-solid-red'>Ready Stock</div>
+              <div className='badge-solid-red text-nowrap'>Ready Stock</div>
             )}
             {/* <div className='badge-gray'>{product?.stockTotal > 5 ? '> 5' : '< 5'}</div> */}
             {product?.qtySold > 0 && (
-              <div className='text-gray_r-9 text-[11px]'>
+              <div className='text-gray_r-9 text-[11px] text-nowrap truncate'>
                 {sellingProductFormat(product?.qtySold) + ' Terjual'}
               </div>
             )}
-- 
cgit v1.2.3

