fix: use max-w-xs for proper filename truncation

This commit is contained in:
Claude
2026-01-20 16:36:54 +00:00
parent f6dc13822c
commit 0ca4ef9b89

View File

@@ -353,7 +353,7 @@ export function BlossomUploadDialog({
"size-12 text-muted-foreground",
)
)}
<p className="font-medium text-sm line-clamp-1 truncate w-full text-center">
<p className="font-medium text-sm truncate max-w-xs text-center">
{selectedFile.name}
</p>
<p className="text-xs text-muted-foreground">