Ziehe die Struktur enger und merke die Paperless-Auswahl, damit Kapitel ohne Extraeintrag zuklappbar bleiben.
Deploy Development / deploy (push) Successful in 26s
Test Suite / pytest-backend (push) Successful in 1m23s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 9s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-17 23:07:14 +02:00
1 parent deb5d662fe
commit f21c64a944
5 files changed
+97 -34

No files matched your search

+14
View File
@@ -640,6 +640,20 @@ function ChapterHeading({
}
return (
<>
{real ? (
<button
type="button"
className="chapter-fold"
aria-expanded={expanded}
aria-label={expanded ? `${section.title} einklappen` : `${section.title} ausklappen`}
onClick={(event) => {
event.stopPropagation();
onToggle();
}}
>
{expanded ? "▾" : "▸"}
</button>
) : null}
<h3 className={`chapter-title${section.parentId ? " is-nested" : ""}`}>
{real ? <NavIcon name="chapter" /> : null}
<span>{section.title}</span>