fix: add truncation to label container for better UI layout

This commit is contained in:
codytseng
2025-07-24 09:32:13 +08:00
parent c511f5cb5a
commit e2d2c27149

View File

@@ -42,7 +42,7 @@ export default function SendOnlyToSwitch({
return (
<div className="flex items-center gap-2">
<div className="flex items-center gap-1">
<div className="flex items-center gap-1 truncate">
<Label htmlFor="send-only-to-current-relays" className="truncate">
{urls.length === 1
? t('Send only to r', { r: simplifyUrl(urls[0]) })