fix: responsive chat input

This commit is contained in:
Vukasin 2025-05-22 23:50:12 +02:00
parent c1419d8db8
commit 604e8e5713
2 changed files with 3 additions and 3 deletions

View File

@ -216,7 +216,7 @@ export const FileUploadHandler = forwardRef<
) : (
<Paperclip className="h-4 w-4" />
)}
<span className="text-sm">Attachments</span>
<span className="text-sm sm:block hidden">Attachments</span>
</Button>
</TooltipTrigger>
<TooltipContent side="top">

View File

@ -523,8 +523,8 @@ export const ModelSelector: React.FC<ModelSelectorProps> = ({
</Tooltip>
</TooltipProvider>
)}
<span>{selectedLabel}</span>
<ChevronDown className="h-3 w-3 opacity-50 ml-1" />
<span className="truncate max-w-[120px] sm:max-w-[160px] md:max-w-[200px] lg:max-w-none">{selectedLabel}</span>
<ChevronDown className="h-3 w-3 opacity-50 ml-1 flex-shrink-0" />
</div>
</Button>
</DropdownMenuTrigger>