Bläddra i källkod

update details modal in admin panel for backorders and reservations, increasing max-width and max-height for improved visibility

Medowar 2 månader sedan
förälder
incheckning
f1a820a219
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      admin/backorders.php
  2. 1 1
      admin/reservations.php

+ 1 - 1
admin/backorders.php

@@ -150,7 +150,7 @@ include __DIR__ . '/../includes/header.php';
 
 <!-- Details Modal -->
 <div id="detailsModal" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center;">
-    <div style="background: white; padding: 2rem; border-radius: 8px; max-width: 900px; max-height: 90vh; overflow-y: auto; position: relative;">
+    <div style="background: white; padding: 2rem; border-radius: 8px; max-width: 1000px; max-height: 95vh; overflow-y: auto; position: relative;">
         <button onclick="closeDetails()" style="position: absolute; top: 1rem; right: 1rem; background: #dc3545; color: white; border: none; border-radius: 4px; padding: 0.5rem 1rem; cursor: pointer;">Schließen</button>
         <div id="detailsContent"></div>
         <form method="POST" id="notifyForm" style="margin-top: 1.5rem; display: none;" onsubmit="return confirm('Kunde über Verfügbarkeit informieren?');">

+ 1 - 1
admin/reservations.php

@@ -158,7 +158,7 @@ include __DIR__ . '/../includes/header.php';
 
 <!-- Details Modal -->
 <div id="detailsModal" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center;">
-    <div style="background: white; padding: 2rem; border-radius: 8px; max-width: 600px; max-height: 80vh; overflow-y: auto; position: relative;">
+    <div style="background: white; padding: 2rem; border-radius: 8px; max-width: 1000px; max-height: 95vh; overflow-y: auto; position: relative;">
         <button onclick="closeDetails()" style="position: absolute; top: 1rem; right: 1rem; background: #dc3545; color: white; border: none; border-radius: 4px; padding: 0.5rem 1rem; cursor: pointer;">Schließen</button>
         <div id="detailsContent"></div>
     </div>