Skip to content

Commit

Permalink
Programming exercises: Decrease space between lines in the code editor (
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisknedl authored Nov 7, 2024
1 parent d9a1f91 commit 3bff129
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
},
Expand All @@ -82,6 +83,7 @@ export class MonacoEditorService {
readOnly: true,
renderSideBySide: true,
scrollBeyondLastLine: false,
lineHeight: 16,
stickyScroll: {
enabled: false,
},
Expand Down

0 comments on commit 3bff129

Please sign in to comment.