From 15f932573a066fdd94e507709f6087b0ae7bb5f2 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Wed, 17 May 2023 19:05:51 +0800 Subject: [PATCH] fix: settings modal (#74) --- web/app/components/base/modal/index.tsx | 4 +++- web/app/components/header/account-setting/index.tsx | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/app/components/base/modal/index.tsx b/web/app/components/base/modal/index.tsx index bc33ac8e0a..05ec019aa6 100644 --- a/web/app/components/base/modal/index.tsx +++ b/web/app/components/base/modal/index.tsx @@ -5,6 +5,7 @@ import { XMarkIcon } from '@heroicons/react/24/outline' type IModal = { className?: string + wrapperClassName?: string isShow: boolean onClose: () => void title?: React.ReactNode @@ -15,6 +16,7 @@ type IModal = { export default function Modal({ className, + wrapperClassName, isShow, onClose, title, @@ -38,7 +40,7 @@ export default function Modal({
-
+
{ }} className={s.modal} + wrapperClassName='pt-[60px]' >