From f5ee6f3537a6577c30eff9a2535a02881de1400c Mon Sep 17 00:00:00 2001
From: Majokeiko <keiko23333@gmail.com>
Date: Tue, 10 Oct 2023 01:29:27 -0500
Subject: [PATCH] feat: ClashFieldViewer BaseDialog maxHeight usage percentage
 (#813)

*The overall interface will be more intuitive when the content is longer.
---
 src/components/profile/profile-viewer.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/profile/profile-viewer.tsx b/src/components/profile/profile-viewer.tsx
index a368c2e..f928053 100644
--- a/src/components/profile/profile-viewer.tsx
+++ b/src/components/profile/profile-viewer.tsx
@@ -143,7 +143,7 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>(
       <BaseDialog
         open={open}
         title={openType === "new" ? t("Create Profile") : t("Edit Profile")}
-        contentSx={{ width: 375, pb: 0, maxHeight: 320 }}
+        contentSx={{ width: 375, pb: 0, maxHeight: "80%" }}
         okBtn={t("Save")}
         cancelBtn={t("Cancel")}
         onClose={handleClose}
-- 
GitLab