diff --git a/frontend/src/components/home/HomePage.tsx b/frontend/src/components/home/HomePage.tsx index 316f8b0..171cd39 100644 --- a/frontend/src/components/home/HomePage.tsx +++ b/frontend/src/components/home/HomePage.tsx @@ -111,7 +111,7 @@ export default function HomePage({ const scroller = target.closest('.overflow-y-auto') as HTMLElement | null; if (!scroller) return; const start = scroller.scrollTop; - const end = start + target.getBoundingClientRect().top - scroller.getBoundingClientRect().top - 48; + const end = start + target.getBoundingClientRect().top - scroller.getBoundingClientRect().top; const distance = end - start; const duration = 1200; let startTime: number; @@ -223,7 +223,7 @@ export default function HomePage({ {/* Scrollytelling: Problem + Solution + Demo map */} -

+

See It in Action