improve monaco

This commit is contained in:
2026-03-06 21:25:51 +01:00
parent bec33211c7
commit 4ebaee4827

View File

@@ -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>