fix TOC invisible: add open attr to details.toc — extractToc works but closed details + desktop pointer-events:none hid content; also make apropos TOC dynamic

fix: website iframe overlay — icon button bottom-right, no blur
This commit is contained in:
Pontoporeia
2026-07-10 15:18:42 +02:00
parent 250e33b571
commit 3d5d972ad0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ function renderEntries(array $entries): string
<!-- Table of contents: collapsible on mobile, force-open on desktop --> <!-- Table of contents: collapsible on mobile, force-open on desktop -->
<?php if (!empty($tocItems)): ?> <?php if (!empty($tocItems)): ?>
<details class="toc"> <details class="toc" open>
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary> <summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
<ul class="toc-list"> <ul class="toc-list">
<?php foreach ($tocItems as $item): ?> <?php foreach ($tocItems as $item): ?>
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- Table of contents: collapsible on mobile, force-open on desktop --> <!-- Table of contents: collapsible on mobile, force-open on desktop -->
<?php if (!empty($tocItems)): ?> <?php if (!empty($tocItems)): ?>
<details class="toc"> <details class="toc" open>
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary> <summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
<ul class="toc-list"> <ul class="toc-list">
<?php foreach ($tocItems as $item): ?> <?php foreach ($tocItems as $item): ?>