diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-06-18 10:20:30 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-06-18 10:20:30 +0700 |
| commit | 4f4729440befed9899661a5c9a7bc9b57c16cc6e (patch) | |
| tree | 3f4ff14d2818a12638afbace8b13d6b36e9a7b83 | |
| parent | e786215b1be4b88e1b43efb2beae15073d6f81db (diff) | |
<iman> update grid-cols promotion program
| -rw-r--r-- | src/pages/shop/promo/[slug].tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/shop/promo/[slug].tsx b/src/pages/shop/promo/[slug].tsx index da720b16..19592f6e 100644 --- a/src/pages/shop/promo/[slug].tsx +++ b/src/pages/shop/promo/[slug].tsx @@ -328,7 +328,7 @@ export default function PromoDetail() { <> <div className='grid grid-cols-1 gap-x-1 gap-y-1'> {visiblePromotions?.map((promotion) => ( - <div key={promotion.id} className="min-w-[350px] max-w-[350px] mb-[20px] sm:w-full md:w-1/2 lg:w-1/3 xl:w-1/4 "> + <div key={promotion.id} className="min-w-[365px] max-w-[365px] mb-[20px] sm:w-full md:w-1/2 lg:w-1/3 xl:w-1/4 "> <ProductPromoCard promotion={promotion}/> </div> ))} @@ -385,7 +385,7 @@ export default function PromoDetail() { </div> ) : promoData && promoItems.length >= 1 ? ( <> - <div className='grid grid-cols-3 gap-x-96 gap-y-1'> + <div className='grid grid-cols-2 gap-x-36 gap-y-1'> {visiblePromotions?.map((promotion) => ( <div key={promotion.id} className="min-w-[400px] max-w-[400px] mb-[20px] sm:w-full md:w-1/2 lg:w-1/3 xl:w-1/4 "> <ProductPromoCard promotion={promotion}/> |
