From 32ba17a4f1dab9c6f4120a12ed8baa7fc7d01779 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 18 Jun 2025 11:24:27 -0500 Subject: [PATCH] Fix anchor follow button alignment (#8522) --- .../components/ThreadItemAnchor.tsx | 90 ++++++++++--------- 1 file changed, 46 insertions(+), 44 deletions(-) diff --git a/src/screens/PostThread/components/ThreadItemAnchor.tsx b/src/screens/PostThread/components/ThreadItemAnchor.tsx index 907fb9a7be..05088cb483 100644 --- a/src/screens/PostThread/components/ThreadItemAnchor.tsx +++ b/src/screens/PostThread/components/ThreadItemAnchor.tsx @@ -319,57 +319,59 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({ live={live} onBeforePress={onOpenAuthor} /> - - - - - - {sanitizeDisplayName( + + + + + - + onPress={onOpenAuthor}> + + {sanitizeDisplayName( + post.author.displayName || + sanitizeHandle(post.author.handle), + moderation.ui('displayName'), + )} + + - - + + + + + + + + {sanitizeHandle(post.author.handle, '@')} + + - - - - {sanitizeHandle(post.author.handle, '@')} - - - - - + + {showFollowButton && (