diff --git a/scripts/main_page.js b/scripts/main_page.js index 2d2babf..01b31e4 100644 --- a/scripts/main_page.js +++ b/scripts/main_page.js @@ -44,7 +44,7 @@ function setupObserver() { }); }, { threshold: 0, - rootMargin: "0px 0px -80% 0px" + rootMargin: "-10% 0px -80% 0px" }); sections.forEach(section => observer.observe(section));