Skip to content

Commit

Permalink
fix(monaco-diff): should disable useInlineViewWhenSpaceIsLimited (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX authored Aug 8, 2024
1 parent c46addf commit 323b9e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/client/builtin/Monaco.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ onMounted(async () => {
fontSize: 11.5,
fontFamily: 'var(--slidev-code-font-family)',
scrollBeyondLastLine: false,
useInlineViewWhenSpaceIsLimited: false,
...editorOptions,
...props.editorOptions,
} satisfies monaco.editor.IStandaloneEditorConstructionOptions & monaco.editor.IDiffEditorConstructionOptions
Expand Down

0 comments on commit 323b9e3

Please sign in to comment.