fix(terminal): always render h-7 bar for consistent bottom spacing

Reverts the conditional rendering — the h-7 bar must always be present
to match the thread panel's baseline spacing and keep bottom edges aligned.
This commit is contained in:
Taylor Ho
2026-05-21 23:00:16 -07:00
parent bced80e14e
commit e3f1208b31

View File

@@ -417,35 +417,33 @@ export const ChannelPane = React.memo(function ChannelPane({
isOpen={isTerminalOpen}
/>
) : null}
{hasComposerBotActivity || hasTypingActivity ? (
<div className="h-7 bg-background px-4 pb-1 pt-0 sm:px-6">
<div className="flex h-full w-full items-center gap-2">
{hasComposerBotActivity ? (
<div className="shrink-0">
<BotActivityComposerAction
agents={activityAgents}
channelId={activeChannel?.id ?? null}
onOpenAgentSession={onOpenAgentSession}
openAgentSessionPubkey={openAgentSessionPubkey}
profiles={profiles}
typingBotPubkeys={composerBotTypingPubkeys}
variant="inline"
/>
</div>
) : null}
{hasTypingActivity ? (
<TypingIndicatorRow
channel={activeChannel}
className="min-w-0 flex-1 px-0 py-0"
currentPubkey={currentPubkey}
<div className="h-7 bg-background px-4 pb-1 pt-0 sm:px-6">
<div className="flex h-full w-full items-center gap-2">
{hasComposerBotActivity ? (
<div className="shrink-0">
<BotActivityComposerAction
agents={activityAgents}
channelId={activeChannel?.id ?? null}
onOpenAgentSession={onOpenAgentSession}
openAgentSessionPubkey={openAgentSessionPubkey}
profiles={profiles}
typingPubkeys={typingPubkeys}
variant="activity"
typingBotPubkeys={composerBotTypingPubkeys}
variant="inline"
/>
) : null}
</div>
</div>
) : null}
{hasTypingActivity ? (
<TypingIndicatorRow
channel={activeChannel}
className="min-w-0 flex-1 px-0 py-0"
currentPubkey={currentPubkey}
profiles={profiles}
typingPubkeys={typingPubkeys}
variant="activity"
/>
) : null}
</div>
) : null}
</div>
</div>
</div>
)}