Merge TOC into page content

This commit is contained in:
2026-08-23 13:38:45 +02:00
parent dddacf9262
commit a0b4f49915
6 changed files with 20 additions and 41 deletions
-5
View File
@@ -1,8 +1,3 @@
// Mobile: the right-rail FAB is stacked ABOVE the tree FAB and opens the right
// rail (TOC + page widgets) in the full-viewport Overlay (overlay.js). It only
// appears when the rail actually has content — runs after toc.js has had a
// chance to populate the rail (script order in page/main.html), so an
// otherwise-empty rail shows no FAB. Hidden on desktop by .fab CSS.
document.addEventListener("DOMContentLoaded", function () {
var aside = document.querySelector("aside.sidebar");
if (!aside || !aside.children.length) return;