diff --git a/frontend/src/components/home/Timeline.tsx b/frontend/src/components/home/Timeline.tsx index 94dba83..f6c6e22 100644 --- a/frontend/src/components/home/Timeline.tsx +++ b/frontend/src/components/home/Timeline.tsx @@ -55,10 +55,10 @@ function Item({ item, index, featured = false }: { item: Milestone; index: numbe export function Timeline() { const { timeline } = useSite() const { t } = useLang() - const ref = useRef(null) + const ref = useRef(null) const { scrollYProgress } = useScroll({ target: ref, - offset: ['start 70%', 'end 60%'], + offset: ['start 70%', 'end 72%'], }) const scaleY = useTransform(scrollYProgress, [0, 1], [0, 1]) @@ -75,20 +75,20 @@ export function Timeline() { /> -
- {/* خط پس‌زمینه ثابت - عرض 2px و همراستایی دقیق با مرکز */} -