chore: fix editor dialog scroll overflow

This commit is contained in:
dongchengjie committed 2024-05-17 04:03:49 +08:00
1 parent b99e8d7f46
commit 4eedc39e97
1 file changed
+1 -1
@@ -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>