fix: truncate lightning address
This commit is contained in:
@@ -119,8 +119,8 @@ const ProfilePage = forwardRef(({ id, index }: { id?: string; index?: number },
|
|||||||
<Nip05 pubkey={pubkey} />
|
<Nip05 pubkey={pubkey} />
|
||||||
{lightningAddress && (
|
{lightningAddress && (
|
||||||
<div className="text-sm text-yellow-400 flex gap-1 items-center">
|
<div className="text-sm text-yellow-400 flex gap-1 items-center">
|
||||||
<Zap className="size-4" />
|
<Zap className="size-4 shrink-0" />
|
||||||
{lightningAddress}
|
<div className="flex-1 max-w-fit w-0 truncate">{lightningAddress}</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="flex gap-1 mt-1">
|
<div className="flex gap-1 mt-1">
|
||||||
|
|||||||
Reference in New Issue
Block a user