diff options
| author | William Hergès <william@herges.fr> | 2025-08-10 15:03:59 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-08-10 15:03:59 +0200 |
| commit | 68beb762d099510d5d61667f4f82aa15e9bd334f (patch) | |
| tree | 24f3bb30f9ac1f17fe4e64cb0e915daecd76e402 /src/pages/index.astro | |
| parent | 60cc3a050e93c364175d925acfb6be4aaf55e9ae (diff) | |
feat(content): better responsiveness
Diffstat (limited to 'src/pages/index.astro')
| -rw-r--r-- | src/pages/index.astro | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
