优化agent选择列表样式
This commit is contained in:
@@ -243,9 +243,7 @@ export function AgentSelector({
|
|||||||
<span
|
<span
|
||||||
className={cn(
|
className={cn(
|
||||||
"overflow-hidden whitespace-nowrap transition-all duration-300",
|
"overflow-hidden whitespace-nowrap transition-all duration-300",
|
||||||
isSelected
|
isSelected ? "max-w-[80px] opacity-100" : "max-w-0 opacity-0"
|
||||||
? "max-w-[80px] opacity-100"
|
|
||||||
: "max-w-0 opacity-0"
|
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{AGENT_LABELS[agent.agent_type]}
|
{AGENT_LABELS[agent.agent_type]}
|
||||||
|
|||||||
Reference in New Issue
Block a user