From 155b8b6daed5f99d370398bbe8ca78da3ea3ffea Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 30 Jun 2026 22:22:02 +0000 Subject: [PATCH] fix(Navbar): active section triggers at 2/3 from bottom --- app/components/Navbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index f66e4f4..284e96b 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -65,7 +65,7 @@ export function Navbar() { entry.isIntersecting ? visible.add(id) : visible.delete(id); updateActive(); }, - { rootMargin: "-100px 0px -50% 0px" } + { rootMargin: "-100px 0px -67% 0px" } ); obs.observe(el); return obs;