fix: add truncation to label container for better UI layout
This commit is contained in:
@@ -42,7 +42,7 @@ export default function SendOnlyToSwitch({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center gap-2">
|
<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">
|
<Label htmlFor="send-only-to-current-relays" className="truncate">
|
||||||
{urls.length === 1
|
{urls.length === 1
|
||||||
? t('Send only to r', { r: simplifyUrl(urls[0]) })
|
? t('Send only to r', { r: simplifyUrl(urls[0]) })
|
||||||
|
|||||||
Reference in New Issue
Block a user