diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2024-02-19 10:29:42 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2024-02-19 10:29:42 +0700 |
| commit | f1eba397ba49db8c1a3310c0b12d01d3ee7fc478 (patch) | |
| tree | 944d1dcba9e7486d4978f44a43fde3c8b71870ab /src-migrate | |
| parent | 14a25de72d80eab600d5481342b763d5db8ecd5f (diff) | |
Update promotion program spacing on product detail
Diffstat (limited to 'src-migrate')
| -rw-r--r-- | src-migrate/modules/product-detail/components/ProductDetail.tsx | 5 |
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']}> |
