Scheduling infrastructure for absolutely everyone.
changed zIndex of modal backfrop to 0
Peer Richelsen57b4e25647c1
diff --git a/components/Modal.tsx b/components/Modal.tsxindex 88fe7319116..ed4fbbe5b61 100644--- a/components/Modal.tsx+++ b/components/Modal.tsx@@ -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. */}diff --git a/components/team/EditTeamModal.tsx b/components/team/EditTeamModal.tsxindex 752097bc9d2..c5e15c6f48d 100644--- a/components/team/EditTeamModal.tsx+++ b/components/team/EditTeamModal.tsx@@ -34,7 +34,7 @@ export default function EditTeamModal(props) {return (<div className="fixed z-50 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">- <div className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity" aria-hidden="true"></div>+ <div className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity" aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span>diff --git a/components/team/MemberInvitationModal.tsx b/components/team/MemberInvitationModal.tsxindex 35749d15e89..6c916baa273 100644--- a/components/team/MemberInvitationModal.tsx+++ b/components/team/MemberInvitationModal.tsx@@ -45,7 +45,7 @@ export default function MemberInvitationModal(props) {role="dialog"aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">- <div className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity" aria-hidden="true"></div>+ <div className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity" aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​diff --git a/components/ui/modal/SetTimesModal.tsx b/components/ui/modal/SetTimesModal.tsxindex 94369fa1b46..328bca6e47f 100644--- a/components/ui/modal/SetTimesModal.tsx+++ b/components/ui/modal/SetTimesModal.tsx@@ -33,7 +33,7 @@ export default function SetTimesModal(props) {role="dialog"aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0">- <div className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity" aria-hidden="true"></div>+ <div className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity" aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​diff --git a/pages/availability/event/[type].tsx b/pages/availability/event/[type].tsxindex a9dbd138759..bc88c293fac 100644--- a/pages/availability/event/[type].tsx+++ b/pages/availability/event/[type].tsx@@ -854,7 +854,7 @@ export default function EventTypePage({aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">@@ -903,7 +903,7 @@ export default function EventTypePage({aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"/>diff --git a/pages/availability/index.tsx b/pages/availability/index.tsxindex 0cd5787f111..5b7edc68c72 100644--- a/pages/availability/index.tsx+++ b/pages/availability/index.tsx@@ -167,7 +167,7 @@ export default function Availability(props) {aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">diff --git a/pages/event-types/[type].tsx b/pages/event-types/[type].tsxindex 4da03c31584..afa9e7d162f 100644--- a/pages/event-types/[type].tsx+++ b/pages/event-types/[type].tsx@@ -922,7 +922,7 @@ export default function EventTypePage({aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">@@ -972,7 +972,7 @@ export default function EventTypePage({aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"/>diff --git a/pages/event-types/index.tsx b/pages/event-types/index.tsxindex 75e4b56caf6..fdee2bed0f3 100644--- a/pages/event-types/index.tsx+++ b/pages/event-types/index.tsx@@ -522,7 +522,7 @@ export default function Availability({ user, types }) {aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">diff --git a/pages/integrations/index.tsx b/pages/integrations/index.tsxindex 1e4f934a859..dca940c4c61 100644--- a/pages/integrations/index.tsx+++ b/pages/integrations/index.tsx@@ -207,7 +207,7 @@ export default function Home({ integrations }) {To: "opacity-0"--> */}<div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​@@ -307,7 +307,7 @@ export default function Home({ integrations }) {To: "opacity-0"--> */}<div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​diff --git a/pages/settings/teams.tsx b/pages/settings/teams.tsxindex 06887d10d7c..260d06b3fd8 100644--- a/pages/settings/teams.tsx+++ b/pages/settings/teams.tsx@@ -132,7 +132,7 @@ export default function Teams() {aria-modal="true"><div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"><div- className="fixed inset-0 bg-gray-500 z-10 bg-opacity-75 transition-opacity"+ className="fixed inset-0 bg-gray-500 z-0 bg-opacity-75 transition-opacity"aria-hidden="true"></div><span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">