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:
@@ -204,7 +204,7 @@ function PostInner({
|
||||
) : (
|
||||
<Trans context="description">
|
||||
Reply to{' '}
|
||||
<ProfileHoverCard inline did={replyAuthorDid}>
|
||||
<ProfileHoverCard did={replyAuthorDid}>
|
||||
<UserInfoText
|
||||
type="sm"
|
||||
did={replyAuthorDid}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -82,7 +82,7 @@ let PostMeta = (opts: PostMetaOpts): React.ReactNode => {
|
||||
</View>
|
||||
)}
|
||||
<View style={[a.flex_row, a.align_end, a.flex_shrink]}>
|
||||
<ProfileHoverCard inline did={author.did}>
|
||||
<ProfileHoverCard did={author.did}>
|
||||
<View style={[a.flex_row, a.align_end, a.flex_shrink]}>
|
||||
<WebOnlyInlineLinkText
|
||||
emoji
|
||||
|
||||
Reference in New Issue
Block a user