fix: modal z-index (#1337)

This commit is contained in:
crazywoola 2023-10-13 14:58:53 +08:00 committed by GitHub
parent 298ad6782d
commit b9d83c04bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -9,4 +9,4 @@
.emailBackground { .emailBackground {
background-color: white !important; background-color: white !important;
} }

View File

@ -62,8 +62,8 @@ const InviteModal = ({
}, [role, emails, notify, onCancel, onSend, t]) }, [role, emails, notify, onCancel, onSend, t])
return ( return (
<div className={s.wrap}> <div className={cn(s.wrap)}>
<Modal overflowVisible isShow onClose={() => {}} className={s.modal}> <Modal overflowVisible isShow onClose={() => {}} className={cn(s.modal)} wrapperClassName='z-20'>
<div className='flex justify-between mb-2'> <div className='flex justify-between mb-2'>
<div className='text-xl font-semibold text-gray-900'>{t('common.members.inviteTeamMember')}</div> <div className='text-xl font-semibold text-gray-900'>{t('common.members.inviteTeamMember')}</div>
<XMarkIcon className='w-4 h-4 cursor-pointer' onClick={onCancel} /> <XMarkIcon className='w-4 h-4 cursor-pointer' onClick={onCancel} />

View File

@ -28,7 +28,7 @@ const InvitedModal = ({
return ( return (
<div className={s.wrap}> <div className={s.wrap}>
<Modal isShow onClose={() => {}} className={s.modal}> <Modal isShow onClose={() => {}} className={s.modal} wrapperClassName='z-20'>
<div className='flex justify-between mb-3'> <div className='flex justify-between mb-3'>
<div className=' <div className='
w-12 h-12 flex items-center justify-center rounded-xl w-12 h-12 flex items-center justify-center rounded-xl