From 77e50ecbb4ede166f23cfc48412b38c835582e18 Mon Sep 17 00:00:00 2001 From: Chesterkxng Date: Thu, 30 Jul 2026 11:05:53 +0200 Subject: [PATCH] chore : flebox use for display coherence --- src/components/input/ToolCodeInput.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/input/ToolCodeInput.tsx b/src/components/input/ToolCodeInput.tsx index a532f56d..d223ec12 100644 --- a/src/components/input/ToolCodeInput.tsx +++ b/src/components/input/ToolCodeInput.tsx @@ -65,7 +65,8 @@ export default function ToolCodeInput({ > ({ - height: '100%', + flex: 1, + minHeight: 0, display: 'flex', flexDirection: 'column', backgroundColor: 'background.paper', @@ -105,6 +106,9 @@ export default function ToolCodeInput({ value={value} onChange={(value) => onChange(value ?? '')} options={{ + automaticLayout: true, + folding: true, + showFoldingControls: 'always', scrollbar: { vertical: 'visible', horizontal: 'visible',