소스 검색

feat: ClashFieldViewer BaseDialog maxHeight usage percentage (#813)

*The overall interface will be more intuitive when the content is longer.
Majokeiko 1 년 전
부모
커밋
f5ee6f3537
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/profile/profile-viewer.tsx

+ 1 - 1
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}