Skip to content

Commit 323b9e3

Browse files
authored
fix(monaco-diff): should disable useInlineViewWhenSpaceIsLimited (#1807)
1 parent c46addf commit 323b9e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/client/builtin/Monaco.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ onMounted(async () => {
115115
fontSize: 11.5,
116116
fontFamily: 'var(--slidev-code-font-family)',
117117
scrollBeyondLastLine: false,
118+
useInlineViewWhenSpaceIsLimited: false,
118119
...editorOptions,
119120
...props.editorOptions,
120121
} satisfies monaco.editor.IStandaloneEditorConstructionOptions & monaco.editor.IDiffEditorConstructionOptions

0 commit comments

Comments
 (0)