Skip to content

Commit

Permalink
fix: hover tooltip for file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin committed Jan 1, 2025
1 parent 1f9fd9b commit c6bc1f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/components/chat/ChatInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@
.join(", ")}
<form class="flex items-center">
<HoverTooltip
label={`Upload ${mimeTypesString} files`}
label={mimeTypesString.includes("*")
? "Upload any file"
: `Upload ${mimeTypesString} files`}
position="top"
TooltipClassNames="text-xs !text-left !w-auto whitespace-nowrap !py-1 !mb-0 max-sm:hidden"
>
Expand Down

0 comments on commit c6bc1f7

Please sign in to comment.