From f3270a2219aa62ae71bafde4d2f88a6361a9e332 Mon Sep 17 00:00:00 2001 From: Mathew Pareles Date: Wed, 15 Jan 2025 02:45:27 -0800 Subject: [PATCH] add editor maxheight back --- src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx index 162097ad..f82b32d9 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx @@ -722,6 +722,7 @@ export const VoidCodeEditor = ({ initValue, language, maxHeight, showScrollbars if (parentNode) { // const height = Math.min(, MAX_HEIGHT); parentNode.style.height = `${height}px`; + parentNode.style.maxHeight = `${MAX_HEIGHT}px`; editor.layout(); } }