mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-12-16 12:05:30 +00:00
better piece eq
This commit is contained in:
@@ -82,10 +82,10 @@
|
||||
<!-- Content area -->
|
||||
<div class="space-y-0">
|
||||
{{ if $pageEntry.OtherPieces }}
|
||||
<div class="italic text-slate-600 text-xs pt-1 pb-1">Außerdem:</div>
|
||||
{{ range $otherPiece := $pageEntry.OtherPieces }}
|
||||
<div class="inhalts-entry py-1 px-0 bg-slate-50 rounded hover:bg-slate-100 transition-colors duration-200"
|
||||
data-page="{{ $pageEntry.PageNumber }}">
|
||||
<div class="italic text-slate-600 text-xs mb-1">Außerdem:</div>
|
||||
{{ template "_inhaltsverzeichnis_eintrag" $otherPiece.PieceByIssue }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<!-- Modal for enlarged view - reuse existing modal -->
|
||||
<div
|
||||
id="pageModal"
|
||||
class="absolute inset-0 bg-black bg-opacity-75 hidden z-50 flex items-center justify-center backdrop-blur-sm"
|
||||
class="fixed inset-0 bg-black bg-opacity-75 hidden z-50 flex items-center justify-center backdrop-blur-sm"
|
||||
onclick="closeModal()">
|
||||
<div class="relative max-w-full max-h-full p-4">
|
||||
<img id="modalImage" src="" alt="" class="max-w-full max-h-full object-contain rounded-lg" />
|
||||
|
||||
Reference in New Issue
Block a user