mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
Update table-of-content.js
This commit is contained in:
parent
fc014a0ca0
commit
8aa22bc7a2
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ export default class TableOfContent {
|
||||||
*/
|
*/
|
||||||
initIntersectionObserver() {
|
initIntersectionObserver() {
|
||||||
const options = {
|
const options = {
|
||||||
rootMargin: '-5% 0 -60%',
|
rootMargin: '-5% 0 -85%',
|
||||||
};
|
};
|
||||||
|
|
||||||
const callback = (entries) => {
|
const callback = (entries) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue