From 13081938ffeab11ed8d6f027448b6f584a94ab36 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Tue, 20 Jan 2026 17:39:51 +0100 Subject: [PATCH] Fix long filename truncation in upload dialog (#176) * fix: truncate long filenames in blossom upload dialog - Add line-clamp-1 and proper width constraints to prevent long filenames from breaking layout - Update default fallback server to blossom.band * fix: use max-w-xs for proper filename truncation --------- Co-authored-by: Claude --- src/components/BlossomUploadDialog.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/BlossomUploadDialog.tsx b/src/components/BlossomUploadDialog.tsx index c28ef9e..9a6d461 100644 --- a/src/components/BlossomUploadDialog.tsx +++ b/src/components/BlossomUploadDialog.tsx @@ -39,10 +39,7 @@ import type { Subscription } from "rxjs"; * Well-known public Blossom servers that can be used as fallbacks * when the user doesn't have their own server list configured */ -const FALLBACK_SERVERS = [ - "https://blossom.primal.net", - "https://nostr.download", -]; +const FALLBACK_SERVERS = ["https://blossom.band/"]; interface BlossomUploadDialogProps { /** Whether the dialog is open */ @@ -356,7 +353,7 @@ export function BlossomUploadDialog({ "size-12 text-muted-foreground", ) )} -

+

{selectedFile.name}