From a2df07194516ba3968d855b89f0050fa3b4222fb Mon Sep 17 00:00:00 2001 From: nicholai Date: Thu, 9 Oct 2025 20:07:58 -0600 Subject: [PATCH] fix: prevent panel expansion by implementing proper flex constraints - Replace h-auto with min-h-0 on panel containers for proper flex shrinking - Add overflow-hidden to parent grid to constrain layout - Update ScrollArea components from h-full to min-h-0 - Ensures panels maintain consistent sizing across all viewports - Internal scrolling now works correctly with auto-scroll to bottom Fixes #1 --- .../src/components/terminal-chat-interface.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bandit-runner-app/src/components/terminal-chat-interface.tsx b/bandit-runner-app/src/components/terminal-chat-interface.tsx index 60085d9..18b0eb1 100644 --- a/bandit-runner-app/src/components/terminal-chat-interface.tsx +++ b/bandit-runner-app/src/components/terminal-chat-interface.tsx @@ -384,9 +384,9 @@ export function TerminalChatInterface() { /> {/* Main content area */} -
+
{/* Terminal Panel */} -
+
{/* Corner accents */}
@@ -409,7 +409,7 @@ export function TerminalChatInterface() {
{/* Terminal content */} - +
{wsTerminalLines.map((line, idx) => (
{/* Agent Panel */} -
+
{/* Corner accents */}
@@ -515,7 +515,7 @@ export function TerminalChatInterface() {
{/* Messages */} - +
{wsChatMessages.map((msg, idx) => (