Browse Source

fix: modal z-index (#1343)

Hickays 1 year ago
parent
commit
9f99c3f55b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      web/app/components/header/account-setting/account-page/index.tsx

+ 2 - 0
web/app/components/header/account-setting/account-page/index.tsx

@@ -164,6 +164,7 @@ export default function AccountPage() {
           isShow
           onClose={() => setEditNameModalVisible(false)}
           className={s.modal}
+          wrapperClassName='z-20'
         >
           <div className='mb-6 text-lg font-medium text-gray-900'>{t('common.account.editName')}</div>
           <div className={titleClassName}>{t('common.account.name')}</div>
@@ -193,6 +194,7 @@ export default function AccountPage() {
             resetPasswordForm()
           }}
           className={s.modal}
+          wrapperClassName='z-20'
         >
           <div className='mb-6 text-lg font-medium text-gray-900'>{userProfile.is_password_set ? t('common.account.resetPassword') : t('common.account.setPassword')}</div>
           {userProfile.is_password_set && (