mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
feat: increase toc scroll threshold for mobile
This commit is contained in:
parent
f6b4dfa709
commit
e08d747d00
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
properties: { 'aria-hidden': 'true', class: 'hidden' },
|
properties: { 'aria-hidden': 'true', class: 'hidden' },
|
||||||
position: 'before'
|
position: 'before'
|
||||||
},
|
},
|
||||||
scrollMarginTop: 120,
|
scrollMarginTop: 150,
|
||||||
selector: ':where(h2, h3, h4, h5, h6)'
|
selector: ':where(h2, h3, h4, h5, h6)'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue