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) { | export default function Modal(props) { | ||||||
|     return ( |     return ( | ||||||
|         <Transition.Root show={props.open} as={Fragment}> |         <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"> |                 <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 |                     <Transition.Child | ||||||
|                         as={Fragment} |                         as={Fragment} | ||||||
|  |  | ||||||
|  | @ -32,7 +32,7 @@ export default function EditTeamModal(props) { | ||||||
|     }).then(loadMembers); |     }).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="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> |       <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 ( |   return ( | ||||||
|     <div |     <div | ||||||
|       className="fixed z-10 inset-0 overflow-y-auto" |       className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|       aria-labelledby="modal-title" |       aria-labelledby="modal-title" | ||||||
|       role="dialog" |       role="dialog" | ||||||
|       aria-modal="true"> |       aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -28,7 +28,7 @@ export default function SetTimesModal(props) { | ||||||
| 
 | 
 | ||||||
|   return ( |   return ( | ||||||
|     <div |     <div | ||||||
|       className="fixed z-10 inset-0 overflow-y-auto" |       className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|       aria-labelledby="modal-title" |       aria-labelledby="modal-title" | ||||||
|       role="dialog" |       role="dialog" | ||||||
|       aria-modal="true"> |       aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ export default function Error() { | ||||||
|     const { error } = router.query; |     const { error } = router.query; | ||||||
| 
 | 
 | ||||||
|     return ( |     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> |             <Head> | ||||||
|                 <title>{error} - Calendso</title> |                 <title>{error} - Calendso</title> | ||||||
|                 <link rel="icon" href="/favicon.ico" /> |                 <link rel="icon" href="/favicon.ico" /> | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ import { CheckIcon } from '@heroicons/react/outline'; | ||||||
| 
 | 
 | ||||||
| export default function Logout() { | export default function Logout() { | ||||||
|     return ( |     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> |             <Head> | ||||||
|                 <title>Logged out - Calendso</title> |                 <title>Logged out - Calendso</title> | ||||||
|                 <link rel="icon" href="/favicon.ico" /> |                 <link rel="icon" href="/favicon.ico" /> | ||||||
|  |  | ||||||
|  | @ -848,7 +848,7 @@ export default function EventTypePage({ | ||||||
|         </div> |         </div> | ||||||
|         {showLocationModal && ( |         {showLocationModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  | @ -897,7 +897,7 @@ export default function EventTypePage({ | ||||||
|         )} |         )} | ||||||
|         {showAddCustomModal && ( |         {showAddCustomModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -161,7 +161,7 @@ export default function Availability(props) { | ||||||
|         </div> |         </div> | ||||||
|         {showChangeTimesModal && ( |         {showChangeTimesModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -62,7 +62,7 @@ export default function Type(props) { | ||||||
|                 <link rel="icon" href="/favicon.ico"/> |                 <link rel="icon" href="/favicon.ico"/> | ||||||
|             </Head> |             </Head> | ||||||
|             <main className="max-w-3xl mx-auto my-24"> |             <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 |                     <div | ||||||
|                         className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> |                         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"> |                         <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"/> |                 <link rel="icon" href="/favicon.ico"/> | ||||||
|             </Head> |             </Head> | ||||||
|             <main className="max-w-3xl mx-auto my-24"> |             <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 |                     <div | ||||||
|                         className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> |                         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"> |                         <div className="fixed inset-0 my-4 sm:my-0 transition-opacity" aria-hidden="true"> | ||||||
|  |  | ||||||
|  | @ -916,7 +916,7 @@ export default function EventTypePage({ | ||||||
|         </div> |         </div> | ||||||
|         {showLocationModal && ( |         {showLocationModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  | @ -966,7 +966,7 @@ export default function EventTypePage({ | ||||||
|         )} |         )} | ||||||
|         {showAddCustomModal && ( |         {showAddCustomModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -516,7 +516,7 @@ export default function Availability({ user, types }) { | ||||||
|         )} |         )} | ||||||
|         {showAddModal && ( |         {showAddModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -191,7 +191,7 @@ export default function Home({ integrations }) { | ||||||
|         </div> |         </div> | ||||||
|         {showAddModal && ( |         {showAddModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  | @ -291,7 +291,7 @@ export default function Home({ integrations }) { | ||||||
|         </div> |         </div> | ||||||
|         {showSelectCalendarModal && ( |         {showSelectCalendarModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -126,7 +126,7 @@ export default function Teams() { | ||||||
|         </div> |         </div> | ||||||
|         {showCreateTeamModal && ( |         {showCreateTeamModal && ( | ||||||
|           <div |           <div | ||||||
|             className="fixed z-10 inset-0 overflow-y-auto" |             className="fixed z-50 inset-0 overflow-y-auto" | ||||||
|             aria-labelledby="modal-title" |             aria-labelledby="modal-title" | ||||||
|             role="dialog" |             role="dialog" | ||||||
|             aria-modal="true"> |             aria-modal="true"> | ||||||
|  |  | ||||||
|  | @ -69,7 +69,7 @@ export default function Success(props) { | ||||||
|           <link rel="icon" href="/favicon.ico" /> |           <link rel="icon" href="/favicon.ico" /> | ||||||
|         </Head> |         </Head> | ||||||
|         <main className="max-w-3xl mx-auto my-24"> |         <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="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"> |               <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"> |                 <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