summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-detail/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-02-20 09:24:34 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-02-20 09:24:34 +0700
commitee8d9403a516b7271581d656e58156e43a1b3d20 (patch)
tree68dc67fc1ebb3a30454f05504e322487ab30f4cf /src-migrate/modules/product-detail/components
parent95f49f1de12ae612957b60ed53cf5993b9b7ef1e (diff)
Update promotion program line for smoother animation
Diffstat (limited to 'src-migrate/modules/product-detail/components')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx3
1 files changed, 1 insertions, 2 deletions
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']}>