From ec4181d53a58a778d1bf5e72787108f12098d2d2 Mon Sep 17 00:00:00 2001 From: Acbox Date: Wed, 11 Mar 2026 17:25:09 +0800 Subject: [PATCH] fix(web): allow Monaco editor to fill full container height Change scrollBeyondLastLine from false to true so the editor background extends beyond the last line of content, filling the entire container. --- apps/web/src/components/monaco-editor/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/monaco-editor/index.vue b/apps/web/src/components/monaco-editor/index.vue index 4b72a1a4..cf5531d5 100644 --- a/apps/web/src/components/monaco-editor/index.vue +++ b/apps/web/src/components/monaco-editor/index.vue @@ -52,7 +52,7 @@ onMounted(() => { readOnly: props.readonly, automaticLayout: true, minimap: { enabled: false }, - scrollBeyondLastLine: false, + scrollBeyondLastLine: true, fontSize: 13, lineNumbers: 'on', renderLineHighlight: 'line',