changed zIndex of modal backfrop to 0

This commit is contained in:
Peer Richelsen committed 2021-08-03 13:23:19 +02:00
1 parent ae836321c9
commit 57b4e25647
10 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ export default function Modal(props) {
leaveFrom="opacity-100"
leaveTo="opacity-0"
>
<Dialog.Overlay className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity" />
<Dialog.Overlay className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity" />
</Transition.Child>
{/* This element is to trick the browser into centering the modal contents. */}