mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 05:33:45 +08:00
feat: Update DialogContent width in EditorViewer
component
This commit is contained in:
parent
72300fec5e
commit
3dbe9193e2
@ -74,10 +74,10 @@ export const EditorViewer = (props: Props) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open={open} onClose={onClose}>
|
<Dialog open={open} onClose={onClose} maxWidth="xl" fullWidth>
|
||||||
<DialogTitle>{t("Edit File")}</DialogTitle>
|
<DialogTitle>{t("Edit File")}</DialogTitle>
|
||||||
|
|
||||||
<DialogContent sx={{ width: 520, pb: 1, userSelect: "text" }}>
|
<DialogContent sx={{ width: "95%", pb: 1, userSelect: "text" }}>
|
||||||
<div style={{ width: "100%", height: "420px" }} ref={editorRef} />
|
<div style={{ width: "100%", height: "420px" }} ref={editorRef} />
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user