Close TOC and Filtres details elements by default on mobile

This commit is contained in:
Pontoporeia
2026-07-10 11:56:27 +02:00
parent 56b3feb73f
commit b0925d9cfa
6 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<!-- Table of contents: collapsible on mobile, force-open on desktop -->
<?php if (!empty($tocItems)): ?>
<details class="toc" open>
<details class="toc">
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
<ul class="toc-list">
<?php foreach ($tocItems as $item): ?>