Update toc.js

This commit is contained in:
Helen Chong 2023-08-14 01:01:23 +08:00
parent 0207dfd7a5
commit ecfe1f8fb2
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ window.addEventListener('DOMContentLoaded', (event) => {
document.documentElement.clientHeight <
tocSidebar.offsetHeight + 50
) {
tocSidebar.style.marginTop = "50px";
tocSidebar.style.marginTop = "0";
tocSidebar.style.position = "static";
}
}