improve monaco
This commit is contained in:
@@ -170,7 +170,18 @@ export const ConfigNode = memo(function ConfigNode({ id, data }: Props) {
|
||||
theme="vs-light"
|
||||
onMount={handleEditorMount}
|
||||
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>
|
||||
</BaseNodeContent>
|
||||
|
||||
Reference in New Issue
Block a user