From ee8d9403a516b7271581d656e58156e43a1b3d20 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 20 Feb 2024 09:24:34 +0700
Subject: Update promotion program line for smoother animation

---
 src-migrate/modules/product-detail/components/ProductDetail.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')

diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 4b514944..f569ef46 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -117,8 +117,7 @@ const ProductDetail = ({ product }: Props) => {
             )}
 
             <div className='h-4 md:h-10' />
-            {!!activeVariantId && <ProductPromoSection productId={activeVariantId} />}
-            {!!activeVariantId && !isMobile && <div className='h-6' />}
+            {!!activeVariantId && <ProductPromoSection productId={activeVariantId} height={450} />}
 
             <div className={style['section-card']}>
               <h2 className={style['heading']}>
-- 
cgit v1.2.3

