Update toc.js
This commit is contained in:
parent
0207dfd7a5
commit
ecfe1f8fb2
|
@ -72,7 +72,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
document.documentElement.clientHeight <
|
document.documentElement.clientHeight <
|
||||||
tocSidebar.offsetHeight + 50
|
tocSidebar.offsetHeight + 50
|
||||||
) {
|
) {
|
||||||
tocSidebar.style.marginTop = "50px";
|
tocSidebar.style.marginTop = "0";
|
||||||
tocSidebar.style.position = "static";
|
tocSidebar.style.position = "static";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue