Skip to content

Commit 46f415d

Browse files
committed
Update multimodal-input.tsx
1 parent aad8f1f commit 46f415d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

components/multimodal-input.tsx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -439,16 +439,10 @@ function PureModelSelectorCompact({
439439
<PromptInputModelSelectContent className="min-w-[260px] p-0">
440440
<div className="flex flex-col gap-px">
441441
{chatModels.map((model) => (
442-
<SelectItem
443-
className="px-3 py-2 text-xs"
444-
key={model.id}
445-
value={model.name}
446-
>
447-
<div className="flex min-w-0 flex-1 flex-col gap-1">
448-
<div className="truncate font-medium text-xs">{model.name}</div>
449-
<div className="truncate text-[10px] text-muted-foreground leading-tight">
450-
{model.description}
451-
</div>
442+
<SelectItem key={model.id} value={model.name}>
443+
<div className="truncate font-medium text-xs">{model.name}</div>
444+
<div className="mt-px truncate text-[10px] text-muted-foreground leading-tight">
445+
{model.description}
452446
</div>
453447
</SelectItem>
454448
))}

0 commit comments

Comments
 (0)