summaryrefslogtreecommitdiff
path: root/src-migrate/modules
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-02-19 10:29:42 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-02-19 10:29:42 +0700
commitf1eba397ba49db8c1a3310c0b12d01d3ee7fc478 (patch)
tree944d1dcba9e7486d4978f44a43fde3c8b71870ab /src-migrate/modules
parent14a25de72d80eab600d5481342b763d5db8ecd5f (diff)
Update promotion program spacing on product detail
Diffstat (limited to 'src-migrate/modules')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 2bd3c901..4b514944 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -117,9 +117,8 @@ const ProductDetail = ({ product }: Props) => {
)}
<div className='h-4 md:h-10' />
- {!!activeVariantId && (
- <ProductPromoSection productId={activeVariantId} />
- )}
+ {!!activeVariantId && <ProductPromoSection productId={activeVariantId} />}
+ {!!activeVariantId && !isMobile && <div className='h-6' />}
<div className={style['section-card']}>
<h2 className={style['heading']}>