From 7525853926ae9c8a4118860d5ef26173820e94ba Mon Sep 17 00:00:00 2001 From: Edwin van de Pol Date: Fri, 20 Jun 2025 01:36:33 +0200 Subject: [PATCH] Added relative position --- resources/views/modal.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/modal.blade.php b/resources/views/modal.blade.php index c2c6241..fc1a1dd 100644 --- a/resources/views/modal.blade.php +++ b/resources/views/modal.blade.php @@ -40,7 +40,7 @@ class="fixed inset-0 transition-all transform" x-transition:leave-start="opacity-100 translate-y-0 sm:scale-100" x-transition:leave-end="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" x-bind:class="modalWidth" - class="inline-block w-full align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full" + class="relative inline-block w-full align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full" id="modal-container" x-trap.noscroll.inert="show && showActiveComponent" aria-modal="true"