mirror of
https://github.com/block/buzz.git
synced 2026-11-04 16:31:38 +00:00
fix(terminal): move typing indicator below terminal panel
Places the typing/bot activity bar after the terminal so the terminal's bottom edge aligns with the thread composer when the thread panel is open.
This commit is contained in:
@@ -411,8 +411,14 @@ export const ChannelPane = React.memo(function ChannelPane({
|
||||
}
|
||||
showTopBorder={false}
|
||||
/>
|
||||
{activeChannel && isTerminalOpen ? (
|
||||
<TerminalPanel
|
||||
channelId={activeChannel.id}
|
||||
isOpen={isTerminalOpen}
|
||||
/>
|
||||
) : null}
|
||||
{hasComposerBotActivity || hasTypingActivity ? (
|
||||
<div className="h-7 bg-background px-4 pb-1 pt-0 sm:px-6 -mt-1">
|
||||
<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">
|
||||
@@ -440,12 +446,6 @@ export const ChannelPane = React.memo(function ChannelPane({
|
||||
</div>
|
||||
</div>
|
||||
) : null}
|
||||
{activeChannel && isTerminalOpen ? (
|
||||
<TerminalPanel
|
||||
channelId={activeChannel.id}
|
||||
isOpen={isTerminalOpen}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user