fix(web): truncate long agent-type badges in agent cards

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Theo BrowneandClaude Fable 5 committed 2026-07-21 20:00:02 -07:00
1 parent 877bcca698
commit c513a4031d
1 file changed
+2 -2
+2 -2
View File
@@ -108,9 +108,9 @@ function AgentCard({ agent }: { agent: ThreadAgentSnapshot }) {
>
<div className="flex items-center gap-2">
<AgentStatusDot status={agent.status} />
<span className="truncate text-[12.5px] font-semibold">{agent.name}</span>
<span className="min-w-0 truncate text-[12.5px] font-semibold">{agent.name}</span>
{agent.agentType ? (
<Badge variant="secondary" size="sm" className="shrink-0">
<Badge variant="secondary" size="sm" className="min-w-0 max-w-28 shrink-1 truncate">
{agent.agentType}
</Badge>
) : null}