mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-10 12:02:41 +00:00
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…
x
Reference in New Issue
Block a user