From 97ae3c82d40689dc48780c923f41c70e0571f932 Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Thu, 21 May 2026 22:51:12 -0700 Subject: [PATCH] fix(terminal): hide phantom h-7 typing bar when empty The typing/bot activity bar below the composer was always rendered with a fixed h-7 height, creating a visible gap even when no indicators were active. Now conditionally rendered only when there's actual content. --- .../src/features/channels/ui/ChannelPane.tsx | 50 ++++++++++--------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/desktop/src/features/channels/ui/ChannelPane.tsx b/desktop/src/features/channels/ui/ChannelPane.tsx index 8192941efe..838de15ae5 100644 --- a/desktop/src/features/channels/ui/ChannelPane.tsx +++ b/desktop/src/features/channels/ui/ChannelPane.tsx @@ -411,33 +411,35 @@ export const ChannelPane = React.memo(function ChannelPane({ } showTopBorder={false} /> -
-
- {hasComposerBotActivity ? ( -
- +
+ {hasComposerBotActivity ? ( +
+ +
+ ) : null} + {hasTypingActivity ? ( + -
- ) : null} - {hasTypingActivity ? ( - - ) : null} + ) : null} +
-
+ ) : null} {activeChannel && isTerminalOpen ? (