Update modal button class and increase z-index for improved visibility

This commit is contained in:
2026-04-20 09:40:08 +02:00
parent 3a9d45327a
commit 6835ee87a7
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -582,7 +582,7 @@
.item-modal {
display: none;
position: fixed;
z-index: 1000;
z-index: 2500;
left: 0;
top: 0;
width: 100%;
@@ -4535,6 +4535,7 @@ document.addEventListener('DOMContentLoaded', ()=>{
<form method="POST" action="/delete_item/${item._id}" style="display:inline;" onsubmit="return confirm('Sind Sie sicher?')">
<button class="delete-button" type="submit">Löschen</button>
</form>
<button type="button" class="details-button" onclick="document.getElementById('item-modal').style.display='none';">Schließen</button>
</div>
`;