Skip to content

Commit e9a3cfc

Browse files
authored
fix(desktop): allow agent select to use full width on windows (anomalyco#12428)
1 parent e767801 commit e9a3cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/components/prompt-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
10231023
options={local.agent.list().map((agent) => agent.name)}
10241024
current={local.agent.current()?.name ?? ""}
10251025
onSelect={local.agent.set}
1026-
class={`capitalize ${local.model.variant.list().length > 0 ? "max-w-[80px]" : "max-w-[120px]"}`}
1026+
class={`capitalize ${local.model.variant.list().length > 0 ? "max-w-full" : "max-w-[120px]"}`}
10271027
valueClass="truncate"
10281028
variant="ghost"
10291029
/>

0 commit comments

Comments
 (0)