From 69cc3beabc0810524696fb50d9ab4952349cbe2e Mon Sep 17 00:00:00 2001 From: IshavSohal Date: Fri, 6 Dec 2024 16:09:09 -0500 Subject: [PATCH] fix mismatch with ToC --- src/components/panels/helpers/scrollama.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/panels/helpers/scrollama.vue b/src/components/panels/helpers/scrollama.vue index e553cc05..aa286486 100644 --- a/src/components/panels/helpers/scrollama.vue +++ b/src/components/panels/helpers/scrollama.vue @@ -45,6 +45,7 @@ function setup() { const opts: any = { step: Array.from(rootElement.value.children), progress: 'step-progress' in attrs, + offset: 0.2, ...attrs };