fix(desktop): allow agent select to use full width on windows (#12428)
parent
e767801db2
commit
e9a3cfc083
|
|
@ -1023,7 +1023,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
options={local.agent.list().map((agent) => agent.name)}
|
||||
current={local.agent.current()?.name ?? ""}
|
||||
onSelect={local.agent.set}
|
||||
class={`capitalize ${local.model.variant.list().length > 0 ? "max-w-[80px]" : "max-w-[120px]"}`}
|
||||
class={`capitalize ${local.model.variant.list().length > 0 ? "max-w-full" : "max-w-[120px]"}`}
|
||||
valueClass="truncate"
|
||||
variant="ghost"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue