diff --git a/src/main/webapp/app/shared/monaco-editor/monaco-editor.service.ts b/src/main/webapp/app/shared/monaco-editor/monaco-editor.service.ts index c83734732223..5bbb04e440fc 100644 --- a/src/main/webapp/app/shared/monaco-editor/monaco-editor.service.ts +++ b/src/main/webapp/app/shared/monaco-editor/monaco-editor.service.ts @@ -62,6 +62,7 @@ export class MonacoEditorService { minimap: { enabled: false }, lineNumbersMinChars: 4, scrollBeyondLastLine: false, + lineHeight: 16, scrollbar: { alwaysConsumeMouseWheel: false, // Prevents the editor from consuming the mouse wheel event, allowing the parent element to scroll. }, @@ -82,6 +83,7 @@ export class MonacoEditorService { readOnly: true, renderSideBySide: true, scrollBeyondLastLine: false, + lineHeight: 16, stickyScroll: { enabled: false, },