mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +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>
|
||||
<DialogTitle>{title}</DialogTitle>
|
||||
|
||||
<DialogContent sx={{ width: "auto", height: "calc(100vh - 185px)" }}>
|
||||
<DialogContent
|
||||
sx={{
|
||||
width: "auto",
|
||||
height: "calc(100vh - 185px)",
|
||||
overflow: "hidden",
|
||||
}}
|
||||
>
|
||||
<MonacoEditor
|
||||
language={language}
|
||||
theme={themeMode === "light" ? "vs" : "vs-dark"}
|
||||
|
|
Loading…
Reference in New Issue
Block a user