mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
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:
@@ -35,7 +35,7 @@ function renderEntries(array $entries): string
|
||||
|
||||
<!-- Table of contents: collapsible on mobile, force-open on desktop -->
|
||||
<?php if (!empty($tocItems)): ?>
|
||||
<details class="toc">
|
||||
<details class="toc" open>
|
||||
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
|
||||
<ul class="toc-list">
|
||||
<?php foreach ($tocItems as $item): ?>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<!-- Table of contents: collapsible on mobile, force-open on desktop -->
|
||||
<?php if (!empty($tocItems)): ?>
|
||||
<details class="toc">
|
||||
<details class="toc" open>
|
||||
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
|
||||
<ul class="toc-list">
|
||||
<?php foreach ($tocItems as $item): ?>
|
||||
|
||||
Reference in New Issue
Block a user