improve monaco
This commit is contained in:
@@ -170,7 +170,18 @@ export const ConfigNode = memo(function ConfigNode({ id, data }: Props) {
|
|||||||
theme="vs-light"
|
theme="vs-light"
|
||||||
onMount={handleEditorMount}
|
onMount={handleEditorMount}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
options={{ minimap: { enabled: false }, fontSize: 12 }}
|
options={{
|
||||||
|
minimap: { enabled: false },
|
||||||
|
fontSize: 12,
|
||||||
|
lineHeight: 16,
|
||||||
|
glyphMargin: false,
|
||||||
|
renderLineHighlight: 'none',
|
||||||
|
lineDecorationsWidth: 2,
|
||||||
|
lineNumbersMinChars: 2,
|
||||||
|
scrollBeyondLastLine: false,
|
||||||
|
padding: { top: 0, bottom: 4 },
|
||||||
|
lineNumbers: 'on',
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</BaseNodeContent>
|
</BaseNodeContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user