moved zIndex for modal to 50 from 10
This commit is contained in:
		
							parent
							
								
									49777eb05b
								
							
						
					
					
						commit
						39ee723dc5
					
				
					 15 changed files with 18 additions and 18 deletions
				
			
		|  | @ -5,7 +5,7 @@ import { CheckIcon } from '@heroicons/react/outline' | |||
| export default function Modal(props) { | ||||
|     return ( | ||||
|         <Transition.Root show={props.open} as={Fragment}> | ||||
|             <Dialog as="div" static className="fixed z-10 inset-0 overflow-y-auto" open={props.open} onClose={props.handleClose}> | ||||
|             <Dialog as="div" static className="fixed z-50 inset-0 overflow-y-auto" open={props.open} onClose={props.handleClose}> | ||||
|                 <div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> | ||||
|                     <Transition.Child | ||||
|                         as={Fragment} | ||||
|  |  | |||
|  | @ -32,7 +32,7 @@ export default function EditTeamModal(props) { | |||
|     }).then(loadMembers); | ||||
|   } | ||||
| 
 | ||||
|   return (<div className="fixed z-10 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true"> | ||||
|   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 bg-opacity-75 transition-opacity" aria-hidden="true"></div> | ||||
| 
 | ||||
|  |  | |||
|  | @ -40,7 +40,7 @@ export default function MemberInvitationModal(props) { | |||
| 
 | ||||
|   return ( | ||||
|     <div | ||||
|       className="fixed z-10 inset-0 overflow-y-auto" | ||||
|       className="fixed z-50 inset-0 overflow-y-auto" | ||||
|       aria-labelledby="modal-title" | ||||
|       role="dialog" | ||||
|       aria-modal="true"> | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ export default function SetTimesModal(props) { | |||
| 
 | ||||
|   return ( | ||||
|     <div | ||||
|       className="fixed z-10 inset-0 overflow-y-auto" | ||||
|       className="fixed z-50 inset-0 overflow-y-auto" | ||||
|       aria-labelledby="modal-title" | ||||
|       role="dialog" | ||||
|       aria-modal="true"> | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ export default function Error() { | |||
|     const { error } = router.query; | ||||
| 
 | ||||
|     return ( | ||||
|         <div className="fixed z-10 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true"> | ||||
|         <div className="fixed z-50 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true"> | ||||
|             <Head> | ||||
|                 <title>{error} - Calendso</title> | ||||
|                 <link rel="icon" href="/favicon.ico" /> | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ import { CheckIcon } from '@heroicons/react/outline'; | |||
| 
 | ||||
| export default function Logout() { | ||||
|     return ( | ||||
|         <div className="fixed z-10 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true"> | ||||
|         <div className="fixed z-50 inset-0 overflow-y-auto" aria-labelledby="modal-title" role="dialog" aria-modal="true"> | ||||
|             <Head> | ||||
|                 <title>Logged out - Calendso</title> | ||||
|                 <link rel="icon" href="/favicon.ico" /> | ||||
|  |  | |||
|  | @ -848,7 +848,7 @@ export default function EventTypePage({ | |||
|         </div> | ||||
|         {showLocationModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  | @ -897,7 +897,7 @@ export default function EventTypePage({ | |||
|         )} | ||||
|         {showAddCustomModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  |  | |||
|  | @ -161,7 +161,7 @@ export default function Availability(props) { | |||
|         </div> | ||||
|         {showChangeTimesModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  |  | |||
|  | @ -62,7 +62,7 @@ export default function Type(props) { | |||
|                 <link rel="icon" href="/favicon.ico"/> | ||||
|             </Head> | ||||
|             <main className="max-w-3xl mx-auto my-24"> | ||||
|                 <div className="fixed z-10 inset-0 overflow-y-auto"> | ||||
|                 <div className="fixed z-50 inset-0 overflow-y-auto"> | ||||
|                     <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 my-4 sm:my-0 transition-opacity" aria-hidden="true"> | ||||
|  |  | |||
|  | @ -27,7 +27,7 @@ export default function Type(props) { | |||
|                 <link rel="icon" href="/favicon.ico"/> | ||||
|             </Head> | ||||
|             <main className="max-w-3xl mx-auto my-24"> | ||||
|                 <div className="fixed z-10 inset-0 overflow-y-auto"> | ||||
|                 <div className="fixed z-50 inset-0 overflow-y-auto"> | ||||
|                     <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 my-4 sm:my-0 transition-opacity" aria-hidden="true"> | ||||
|  |  | |||
|  | @ -916,7 +916,7 @@ export default function EventTypePage({ | |||
|         </div> | ||||
|         {showLocationModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  | @ -966,7 +966,7 @@ export default function EventTypePage({ | |||
|         )} | ||||
|         {showAddCustomModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  |  | |||
|  | @ -516,7 +516,7 @@ export default function Availability({ user, types }) { | |||
|         )} | ||||
|         {showAddModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  |  | |||
|  | @ -191,7 +191,7 @@ export default function Home({ integrations }) { | |||
|         </div> | ||||
|         {showAddModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  | @ -291,7 +291,7 @@ export default function Home({ integrations }) { | |||
|         </div> | ||||
|         {showSelectCalendarModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  |  | |||
|  | @ -126,7 +126,7 @@ export default function Teams() { | |||
|         </div> | ||||
|         {showCreateTeamModal && ( | ||||
|           <div | ||||
|             className="fixed z-10 inset-0 overflow-y-auto" | ||||
|             className="fixed z-50 inset-0 overflow-y-auto" | ||||
|             aria-labelledby="modal-title" | ||||
|             role="dialog" | ||||
|             aria-modal="true"> | ||||
|  |  | |||
|  | @ -69,7 +69,7 @@ export default function Success(props) { | |||
|           <link rel="icon" href="/favicon.ico" /> | ||||
|         </Head> | ||||
|         <main className="max-w-3xl mx-auto my-24"> | ||||
|           <div className="fixed z-10 inset-0 overflow-y-auto"> | ||||
|           <div className="fixed z-50 inset-0 overflow-y-auto"> | ||||
|             <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 my-4 sm:my-0 transition-opacity" aria-hidden="true"> | ||||
|                 <span className="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true"> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Peer Richelsen
						Peer Richelsen