From f8f42d83eeec9f39e9bb92f5e64f653d2a978faf Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Thu, 21 May 2026 22:29:13 -0700 Subject: [PATCH] fix(terminal): move into composer flow with padding on all sides MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Terminal now renders inside the composer's pointer-events-auto wrapper, sitting below the typing indicator. Wrapped with p-4 pt-2 for consistent inset padding matching the composer's visual alignment. No more z-index fight — it's in the natural flow. --- .../src/features/channels/ui/ChannelPane.tsx | 16 ++-- .../src/features/terminal/TerminalPanel.tsx | 74 ++++++++++--------- 2 files changed, 47 insertions(+), 43 deletions(-) diff --git a/desktop/src/features/channels/ui/ChannelPane.tsx b/desktop/src/features/channels/ui/ChannelPane.tsx index 580f25fa12..a3954b6c9d 100644 --- a/desktop/src/features/channels/ui/ChannelPane.tsx +++ b/desktop/src/features/channels/ui/ChannelPane.tsx @@ -438,16 +438,18 @@ export const ChannelPane = React.memo(function ChannelPane({ ) : null} + {activeChannel && isTerminalOpen ? ( +
+ +
+ ) : null} )} - {activeChannel && isTerminalOpen ? ( - - ) : null} {threadHeadMessage ? ( diff --git a/desktop/src/features/terminal/TerminalPanel.tsx b/desktop/src/features/terminal/TerminalPanel.tsx index 781f8cefd8..06d588420d 100644 --- a/desktop/src/features/terminal/TerminalPanel.tsx +++ b/desktop/src/features/terminal/TerminalPanel.tsx @@ -85,46 +85,48 @@ export function TerminalPanel({ if (!isOpen) return null; return ( -
- {/* Resize handle */} - + {/* Resize handle */} + - {/* Header bar */} -
- Terminal -
- - + {/* Header bar */} +
+ Terminal +
+ + +
-
- {/* Terminal content */} -
- + {/* Terminal content */} +
+ +
);