Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apps/mobile/src/features/threads/thread-subagent-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ export function ThreadSubagentGroup(props: {
>
<View className="flex-row items-center">
{agents.slice(0, 3).map((agent, index) => (
<View key={agent.item.id} style={{ marginLeft: index === 0 ? 0 : -7 }}>
<View
key={agent.item.id}
style={{ marginLeft: index === 0 ? 0 : -7, zIndex: 3 - index }}
>
<SubagentAvatar item={agent.item} config={configOf(agent.item)} />
</View>
))}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/chat/TimelineV2EventRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const V2SubagentGroup = memo(function V2SubagentGroup({
: "text-muted-foreground opacity-55",
)}
>
<span className="flex shrink-0 items-center -space-x-1.5" aria-hidden>
<span className="isolate flex shrink-0 items-center -space-x-1" aria-hidden>
{agents.slice(0, 3).map(({ item, status }) => (
<EnvironmentSubagentAvatar
key={item.id}
Expand Down
4 changes: 3 additions & 1 deletion apps/web/src/components/chat/V2LifecycleRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,10 @@ function SubagentAvatar({
acpRegistryIconUrl={iconUrl}
showBadge={showBadge}
size="compact"
className="z-auto"
// Account badges are wider than an overlapped avatar edge, so they paint above every circle.
className="z-auto isolation-auto"
iconClassName="size-3.5"
badgeClassName="z-1"
/>
) : (
<BotIcon className="size-3.5 text-muted-foreground" />
Expand Down
Loading