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(); } }