优化agent选择列表样式
This commit is contained in:
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user