scrollspy fix

This commit is contained in:
Simon Martens
2025-09-21 21:29:36 +02:00
parent 810de82442
commit de9b048b85
4 changed files with 37 additions and 20 deletions

View File

@@ -70,6 +70,19 @@
{{ end }}
</div>
{{ template "_scrollspy_layout" .model }}
<!-- Two Column Layout: Scrollspy + Content -->
<div class="flex gap-8">
{{ template "_scrollspy_layout" .model }}
<!-- People List - Main Content -->
<div class="flex-1 space-y-6 bg-white">
{{ range $_, $id := $.model.Sorted }}
{{ $a := index $.model.Agents $id }}
<div id="author-{{ $id }}" class="p-6 scroll-mt-8 author-section">
{{ template "_akteur" $a }}
</div>
{{ end }}
</div>
</div>
{{ end }}