Skip to content

Commit cf7eb0e

Browse files
authored
Fix overlay in Tailwind v4 (#523)
1 parent 4e955ca commit cf7eb0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/modal.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class="fixed inset-0 transition-all transform"
4040
x-transition:leave-start="opacity-100 translate-y-0 sm:scale-100"
4141
x-transition:leave-end="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
4242
x-bind:class="modalWidth"
43-
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"
43+
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"
4444
id="modal-container"
4545
x-trap.noscroll.inert="show && showActiveComponent"
4646
aria-modal="true"

0 commit comments

Comments
 (0)