chore: fix editor dialog scroll overflow

This commit is contained in:
dongchengjie 2024-05-17 04:03:49 +08:00
parent ffbc892e44
commit 937f0b5687

View File

@ -78,7 +78,7 @@ export const ConfigViewer = forwardRef<DialogRef>((props, ref) => {
</DialogTitle>
<DialogContent
sx={{ width: "94%", height: "100vh", pb: 1, userSelect: "text" }}
sx={{ width: "auto", height: "100vh", pb: 1, userSelect: "text" }}
>
<div style={{ width: "100%", height: "100%" }} ref={editorRef} />
</DialogContent>