From 1b0d6f5e06035ef9436cbd1949befcab96b92fa0 Mon Sep 17 00:00:00 2001 From: parsa aghaei Date: Tue, 14 Jul 2026 20:09:12 +0330 Subject: [PATCH] style: move full product description below the fold and increase sticky sidebar top offset to prevent header overlap --- .../application/components/ProductPage.tsx | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/frontend/application/components/ProductPage.tsx b/frontend/application/components/ProductPage.tsx index 0313949..9501cf2 100644 --- a/frontend/application/components/ProductPage.tsx +++ b/frontend/application/components/ProductPage.tsx @@ -257,13 +257,6 @@ export default function ProductPage({ productSlug }: { productSlug: string }) { {fullProduct.shortDescription}

)} - {fullProduct.description && ( -
- {fullProduct.description.split('\n').filter(Boolean).map((para, pIdx) => ( -

{para.trim()}

- ))} -
- )} @@ -295,6 +288,23 @@ export default function ProductPage({ productSlug }: { productSlug: string }) { )} + {/* Comprehensive Product Description Section (Below the fold) */} + {fullProduct.description && ( +
+
+
+ +
+

توضیحات و معرفی محصول

+
+
+ {fullProduct.description.split('\n').filter(Boolean).map((para, pIdx) => ( +

{para.trim()}

+ ))} +
+
+ )} + {/* Smart Dosage Calculator Utility Section */}
@@ -495,7 +505,7 @@ export default function ProductPage({ productSlug }: { productSlug: string }) {
{/* Sticky Sidebar (Clean Buy Box) - Sticky starts at the top, level with the title */} -
+