fix(web): truncate long agent-type badges in agent cards
Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
877bcca698
commit
c513a4031d
1 file changed
+2
-2
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user