This commit is contained in:
starmorph
2025-05-19 20:52:45 -07:00
parent 25b247354f
commit f29b5054b4

View File

@@ -73,19 +73,19 @@ export const MultimodalPreview: React.FC<MultimodalPreviewProps> = ({
<div <div
className={cn( className={cn(
"relative flex items-center gap-2 rounded-md border bg-gray-100 px-3 py-2", "relative flex items-center gap-2 rounded-md border bg-gray-100 px-3 py-2",
className className,
)} )}
> >
<File <File
className={cn( className={cn(
"flex-shrink-0 text-teal-700", "flex-shrink-0 text-teal-700",
size === "sm" ? "h-5 w-5" : "h-7 w-7" size === "sm" ? "h-5 w-5" : "h-7 w-7",
)} )}
/> />
<span <span
className={cn( className={cn(
"truncate text-sm text-gray-800", "truncate text-sm text-gray-800",
size === "sm" ? "max-w-[80px]" : "max-w-[160px]" size === "sm" ? "max-w-[80px]" : "max-w-[160px]",
)} )}
> >
{String(filename)} {String(filename)}
@@ -109,7 +109,7 @@ export const MultimodalPreview: React.FC<MultimodalPreviewProps> = ({
<div <div
className={cn( className={cn(
"flex items-center gap-2 rounded-md border bg-gray-100 px-3 py-2 text-gray-500", "flex items-center gap-2 rounded-md border bg-gray-100 px-3 py-2 text-gray-500",
className className,
)} )}
> >
<File className="h-5 w-5 flex-shrink-0" /> <File className="h-5 w-5 flex-shrink-0" />