feat: increase toc scroll threshold for mobile

This commit is contained in:
Youwen Wu 2024-04-07 03:11:47 -07:00
parent f6b4dfa709
commit e08d747d00
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -42,7 +42,7 @@
properties: { 'aria-hidden': 'true', class: 'hidden' },
position: 'before'
},
scrollMarginTop: 120,
scrollMarginTop: 150,
selector: ':where(h2, h3, h4, h5, h6)'
}}
>