From ecfe1f8fb2c250bff495dfec74a5d815db913e3c Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 14 Aug 2023 01:01:23 +0800 Subject: [PATCH] Update toc.js --- js/toc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/toc.js b/js/toc.js index 6cb152e6..4405714c 100644 --- a/js/toc.js +++ b/js/toc.js @@ -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"; } }