chore: input box alignment (#1189)

This commit is contained in:
josh 2025-09-10 20:23:41 +01:00 committed by GitHub
parent c7fc95ee1b
commit e42c392427
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 211 additions and 27 deletions

View file

@ -86,11 +86,11 @@ export function ModelSelector({
>
<button
type="button"
className="group/item flex w-full flex-row items-center justify-between gap-2 sm:gap-4"
className="flex flex-row gap-2 justify-between items-center w-full group/item sm:gap-4"
>
<div className="flex flex-col items-start gap-1">
<div className="flex flex-col gap-1 items-start">
<div className="text-sm sm:text-base">{chatModel.name}</div>
<div className="line-clamp-2 text-muted-foreground text-xs">
<div className="text-xs line-clamp-2 text-muted-foreground">
{chatModel.description}
</div>
</div>
@ -105,4 +105,4 @@ export function ModelSelector({
</DropdownMenuContent>
</DropdownMenu>
);
}
}