Hover card on anchor displayName/handle (#8479)

* add hover to anchor display name / handle

* use newer link component

* Wrap using a single hover element

---------

Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
Samuel Newman
2025-06-14 00:41:12 +03:00
committed by GitHub
parent 7cd607f523
commit ed9691511b
6 changed files with 58 additions and 46 deletions
+2 -2
View File
@@ -368,7 +368,7 @@ let FeedItemInner = ({
) : (
<Trans>
Reposted by{' '}
<ProfileHoverCard inline did={reason.by.did}>
<ProfileHoverCard did={reason.by.did}>
<TextLinkOnWebOnly
type="sm-bold"
style={pal.textLight}
@@ -607,7 +607,7 @@ function ReplyToLabel({
label = (
<Trans context="description">
Reply to{' '}
<ProfileHoverCard inline did={profile.did}>
<ProfileHoverCard did={profile.did}>
<TextLinkOnWebOnly
type="md"
style={pal.textLight}