Skip to content
TypeScript

fix(web): subagent overflow count sits on top of the avatar stack (#19860)

Pavlo Trinko7ce7fe3f1b06
diff --git a/apps/web/src/components/chat/MessagesTimeline.tsx b/apps/web/src/components/chat/MessagesTimeline.tsx
index a3ea12f24ac..195e6cf061f 100644
--- a/apps/web/src/components/chat/MessagesTimeline.tsx
+++ b/apps/web/src/components/chat/MessagesTimeline.tsx
@@ -3260,7 +3260,7 @@ const V2SubagentGroup = memo(function V2SubagentGroup({
/>
))}
{agents.length > 3 ? (
- <span className="inline-flex size-6 items-center justify-center rounded-full bg-muted text-3xs font-medium text-muted-foreground ring-2 ring-background">
+ <span className="relative inline-flex size-6 items-center justify-center rounded-full bg-muted text-3xs font-medium text-muted-foreground ring-2 ring-background">
+{agents.length - 3}
</span>
) : null}