mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
inline embed spacing
This commit is contained in:
parent
67e8c1404f
commit
ec229788d8
@ -7,8 +7,7 @@ const Hashtag: Embed = {
|
||||
component: ({ match }) => {
|
||||
return (
|
||||
<Link href={`/search/${encodeURIComponent(match)}`} className="link">
|
||||
{' '}
|
||||
{match}{' '}
|
||||
{match}
|
||||
</Link>
|
||||
);
|
||||
},
|
||||
|
@ -25,6 +25,7 @@ const InlineMention: Embed = {
|
||||
if (type === 'p') {
|
||||
return (
|
||||
<Link href={`/${nip19.npubEncode(id)}`} className="link">
|
||||
{' '}
|
||||
<Name pub={id} hideBadge={true} />
|
||||
</Link>
|
||||
);
|
||||
|
@ -16,6 +16,7 @@ const NostrUser: Embed = {
|
||||
return (
|
||||
<>
|
||||
<Link className="link" href={`/${data.pubkey}`}>
|
||||
{' '}
|
||||
<Name pub={data.pubkey} />
|
||||
</Link>
|
||||
</>
|
||||
|
@ -12,6 +12,7 @@ const NostrNpub: Embed = {
|
||||
const pub = match.replace('@', '');
|
||||
return (
|
||||
<Link href={`/${pub}`} className="link">
|
||||
{' '}
|
||||
<Name pub={pub} hideBadge={true} />
|
||||
</Link>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user