mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
Fix: monoco editor dark theme issue
This commit is contained in:
@@ -101,6 +101,7 @@ export default function CodeEditor({
|
||||
}}
|
||||
{...props}
|
||||
onValidate={onValidate_}
|
||||
theme={`github-${theme.palette.mode}`}
|
||||
options={{
|
||||
readOnly: disabled,
|
||||
fontFamily: theme.typography.fontFamilyMono,
|
||||
@@ -111,7 +112,6 @@ export default function CodeEditor({
|
||||
automaticLayout: true,
|
||||
fixedOverflowWidgets: true,
|
||||
tabSize: 2,
|
||||
theme: `github-${theme.palette.mode}`,
|
||||
...props.options,
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user