mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 05:03:45 +08:00
feat: ClashFieldViewer BaseDialog maxHeight usage percentage (#813)
*The overall interface will be more intuitive when the content is longer.
This commit is contained in:
parent
cdd7d0f4c5
commit
9ef7310fc2
@ -143,7 +143,7 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>(
|
|||||||
<BaseDialog
|
<BaseDialog
|
||||||
open={open}
|
open={open}
|
||||||
title={openType === "new" ? t("Create Profile") : t("Edit Profile")}
|
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")}
|
okBtn={t("Save")}
|
||||||
cancelBtn={t("Cancel")}
|
cancelBtn={t("Cancel")}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user