added platform

This commit is contained in:
2026-10-20 10:58:30 -06:00
parent ec9ae0cd22
commit 2bfede4f6b
71 changed files with 2611 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ if (toggle && sidebar) {
if (sidebar.classList.contains("is-open") && !sidebar.contains(e.target) && !toggle.contains(e.target)) setOpen(false);
});
const current = sidebar.querySelector('[aria-current="page"]');
if (current) current.scrollIntoView({ block: "center" });
if (current) current.scrollIntoView({ block: "nearest" });
}
// Highlight the current heading in the table of contents.