From e08d747d00b9425aea3234988f09e39c8f903771 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 7 Apr 2024 03:11:47 -0700 Subject: [PATCH] feat: increase toc scroll threshold for mobile --- src/routes/blog/[year]/[slug]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/blog/[year]/[slug]/+page.svelte b/src/routes/blog/[year]/[slug]/+page.svelte index 364f8a1..b53ce34 100644 --- a/src/routes/blog/[year]/[slug]/+page.svelte +++ b/src/routes/blog/[year]/[slug]/+page.svelte @@ -42,7 +42,7 @@ properties: { 'aria-hidden': 'true', class: 'hidden' }, position: 'before' }, - scrollMarginTop: 120, + scrollMarginTop: 150, selector: ':where(h2, h3, h4, h5, h6)' }} >