mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-15 19:22:26 +08:00
chore: remove dialog overflow-scroll
This commit is contained in:
parent
4e4f9af5b7
commit
df6e245e5c
|
@ -162,7 +162,13 @@ export const EditorViewer = <T extends Language>(props: Props<T>) => {
|
||||||
<Dialog open={open} onClose={onClose} maxWidth="xl" fullWidth>
|
<Dialog open={open} onClose={onClose} maxWidth="xl" fullWidth>
|
||||||
<DialogTitle>{title}</DialogTitle>
|
<DialogTitle>{title}</DialogTitle>
|
||||||
|
|
||||||
<DialogContent sx={{ width: "auto", height: "calc(100vh - 185px)" }}>
|
<DialogContent
|
||||||
|
sx={{
|
||||||
|
width: "auto",
|
||||||
|
height: "calc(100vh - 185px)",
|
||||||
|
overflow: "hidden",
|
||||||
|
}}
|
||||||
|
>
|
||||||
<MonacoEditor
|
<MonacoEditor
|
||||||
language={language}
|
language={language}
|
||||||
theme={themeMode === "light" ? "vs" : "vs-dark"}
|
theme={themeMode === "light" ? "vs" : "vs-dark"}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user