Further styling

This commit is contained in:
Simon Martens
2025-09-14 18:28:35 +02:00
parent 7fc3ee238c
commit 6b9d45642d
5 changed files with 254 additions and 21 deletions

View File

@@ -16,7 +16,7 @@
</div>
<div class="space-y-3">
{{ range $piece := (index $model.Pieces.Items $page) }}
<div class="py-2 px-3 bg-slate-50 rounded hover:bg-slate-100 transition-colors duration-200">
<div class="inhalts-entry py-2 px-3 bg-slate-50 rounded hover:bg-slate-100 transition-colors duration-200" data-page="{{ $page }}">
{{ template "_inhaltsverzeichnis_eintrag" $piece }}
@@ -71,7 +71,7 @@
</div>
<div class="space-y-3">
{{ range $piece := (index $model.AdditionalPieces.Items $page) }}
<div class="py-2 px-3 bg-slate-50 rounded hover:bg-slate-100 transition-colors duration-200">
<div class="inhalts-entry py-2 px-3 bg-slate-50 rounded hover:bg-slate-100 transition-colors duration-200" data-page="{{ $page }}">
{{ template "_inhaltsverzeichnis_eintrag" $piece }}