From a590db8e10a2f920a15dfd42b0e6edf5f07b0e81 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 21 Mar 2026 22:56:09 +0100 Subject: [PATCH] Truncate long place names in file source badges on mobile --- client/src/components/Files/FileManager.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Files/FileManager.jsx b/client/src/components/Files/FileManager.jsx index 92e2bf4..25826ba 100644 --- a/client/src/components/Files/FileManager.jsx +++ b/client/src/components/Files/FileManager.jsx @@ -68,10 +68,10 @@ function SourceBadge({ icon: Icon, label }) { fontSize: 10.5, color: '#4b5563', background: 'var(--bg-tertiary)', border: '1px solid var(--border-primary)', borderRadius: 6, padding: '2px 7px', - fontWeight: 500, whiteSpace: 'nowrap', + fontWeight: 500, maxWidth: '100%', overflow: 'hidden', }}> - {label} + {label} ) }