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 {
background-color: white !important;
}
}

View File

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

View File

@ -28,7 +28,7 @@ const InvitedModal = ({
return (
<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='
w-12 h-12 flex items-center justify-center rounded-xl