优化agent选择列表样式

This commit is contained in:
xintaofei
2026-03-24 23:27:03 +08:00
parent 9e0eb98f3d
commit da95b9f8a7

View File

@@ -243,9 +243,7 @@ export function AgentSelector({
<span
className={cn(
"overflow-hidden whitespace-nowrap transition-all duration-300",
isSelected
? "max-w-[80px] opacity-100"
: "max-w-0 opacity-0"
isSelected ? "max-w-[80px] opacity-100" : "max-w-0 opacity-0"
)}
>
{AGENT_LABELS[agent.agent_type]}