refactoring avec claude + ajout scroll-margin-top et désaffichage du panel au click sur les liens du toc

This commit is contained in:
antonin gallon 2026-02-17 18:10:04 +01:00
parent d51fc592ed
commit 01c5b098e4
14 changed files with 149 additions and 121 deletions

View file

@ -34,7 +34,7 @@
<?php if ($page->isHtmlMode()->isTrue()): ?>
<?= $page->htmlBody()->kt() ?>
<?php elseif ($page->bodyBlocks()->isNotEmpty()): ?>
<?= addAnchors($page->bodyBlocks()->toBlocks()) ?>
<?= $page->bodyWithAnchors() ?>
<?php else: ?>
<?= $page->body() ?>
<?php endif ?>