diff --git a/desktop/src/features/channels/ui/BotActivityBar.tsx b/desktop/src/features/channels/ui/BotActivityBar.tsx index d9139935f..cd37dfcf9 100644 --- a/desktop/src/features/channels/ui/BotActivityBar.tsx +++ b/desktop/src/features/channels/ui/BotActivityBar.tsx @@ -163,7 +163,7 @@ export function BotActivityComposerAction({ className={cn( "inline-flex items-center justify-center rounded-full border border-border/60 bg-background font-medium text-muted-foreground transition-colors hover:border-primary/30 hover:bg-primary/5 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring data-[state=open]:border-primary/40 data-[state=open]:bg-primary/10 data-[state=open]:text-primary", isInline - ? "h-7 min-w-0 gap-2 overflow-visible border-transparent bg-transparent px-0 text-xs font-semibold leading-none shadow-none hover:border-transparent hover:bg-transparent data-[state=open]:border-transparent data-[state=open]:bg-transparent" + ? "h-7 min-w-0 max-w-full gap-2 overflow-hidden border-transparent bg-transparent px-0 text-left text-xs font-semibold leading-none shadow-none hover:border-transparent hover:bg-transparent data-[state=open]:border-transparent data-[state=open]:bg-transparent" : "h-9 min-w-9 gap-1.5 px-2 text-xs", )} data-testid="bot-activity-composer-trigger" @@ -177,7 +177,7 @@ export function BotActivityComposerAction({ onMouseLeave={closeWithDelay} type="button" > - + {typingAgents.slice(0, 2).map((agent) => ( {typingAgents.length > 2 ? ( - + +{typingAgents.length - 2} ) : null} - - {isInline ? {visibleStatusLabel} : "working"} + + {isInline ? ( + + {visibleStatusLabel} + + ) : ( + "working" + )} {isInline ? null : ( diff --git a/desktop/src/features/channels/ui/ChannelPane.tsx b/desktop/src/features/channels/ui/ChannelPane.tsx index c0c5b19b0..c85ade842 100644 --- a/desktop/src/features/channels/ui/ChannelPane.tsx +++ b/desktop/src/features/channels/ui/ChannelPane.tsx @@ -785,7 +785,7 @@ export const ChannelPane = React.memo(function ChannelPane({
{hasComposerBotActivity ? ( -
+
{toolbarExtraActions ? ( -
{toolbarExtraActions}
+
+ {toolbarExtraActions} +
) : null} {threadTypingPubkeys.length > 0 ? (