fix: font problem

This commit is contained in:
2026-03-17 18:05:01 +01:00
parent bf40b235f0
commit d9eb92300a
8 changed files with 4 additions and 97 deletions

View File

@@ -34,13 +34,13 @@ const CodeEditor = ({ className = "", syntax, readOnly, onChange, value, editorE
onChange={onChange}
onMount={onMount}
options={{
minimap: { enabled: false },
minimap: { enabled: true },
automaticLayout: true,
fontFamily: 'Fira Code',
fontLigatures: true,
fontSize: 18,
lineHeight: 1.5,
scrollbar: { verticalScrollbarSize: 0 },
scrollbar: { verticalScrollbarSize: 10 },
wordWrap: "on",
formatOnPaste: true,
readOnly: readOnly || false,