From 1bb0cf6b864243a957b9036a97b88f0710613f5c Mon Sep 17 00:00:00 2001 From: Chad Kruse <314653+chadokruse@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:08:59 -0600 Subject: [PATCH] =?UTF-8?q?Scrollspy=20final=20adjustment=20=F0=9F=A4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/src/lib/components/profiles/ContentBoxWrapper.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/web/src/lib/components/profiles/ContentBoxWrapper.svelte b/apps/web/src/lib/components/profiles/ContentBoxWrapper.svelte index f3bb97a..5988c41 100644 --- a/apps/web/src/lib/components/profiles/ContentBoxWrapper.svelte +++ b/apps/web/src/lib/components/profiles/ContentBoxWrapper.svelte @@ -13,10 +13,7 @@ let { id, classes = '', children }: Props = $props(); let options: Options = { - threshold: - id === 'overview' ? 0 - : id === 'people' ? 1 - : 0.6, + threshold: id === 'overview' || id === 'people' ? 1 : 0.6, unobserveOnEnter: false, };