fixed navbar location observer

This commit is contained in:
2026-04-27 21:09:01 +02:00
parent 7ec4e44c49
commit 3870cbe9ab
+2 -2
View File
@@ -91,8 +91,8 @@
} }
}); });
}, { }, {
threshold: 0.3, threshold: 0,
rootMargin: "0px 0px -30% 0px" rootMargin: "0px 0px -80% 0px"
}); });
sections.forEach(section => observer.observe(section)); sections.forEach(section => observer.observe(section));