From 68beb762d099510d5d61667f4f82aa15e9bd334f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sun, 10 Aug 2025 15:03:59 +0200 Subject: feat(content): better responsiveness --- src/pages/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pages') diff --git a/src/pages/index.astro b/src/pages/index.astro index 7d5ef28..308f9e2 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -170,7 +170,7 @@ import Base from "../layout/Base.astro"; const rect = section.getBoundingClientRect(); if ( section.top + window.scrollY > window.scrollY || - (rect.bottom + +window.scrollY) * 2 < window.scrollY + rect.bottom + +window.scrollY < window.scrollY ) return; const content = section.querySelector(".content"); -- cgit v1.2.3