From 51babe016403a2cff6b38a2a7c9a4d22cb867138 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 18 Jun 2025 15:41:58 -0500 Subject: Fix anchor text overflow in threads v2 (#8530) --- .../PostThread/components/ThreadItemAnchor.tsx | 96 ++++++++++------------ 1 file changed, 44 insertions(+), 52 deletions(-) (limited to 'src/screens/PostThread/components/ThreadItemAnchor.tsx') diff --git a/src/screens/PostThread/components/ThreadItemAnchor.tsx b/src/screens/PostThread/components/ThreadItemAnchor.tsx index 05088cb48..23a92bc28 100644 --- a/src/screens/PostThread/components/ThreadItemAnchor.tsx +++ b/src/screens/PostThread/components/ThreadItemAnchor.tsx @@ -311,69 +311,61 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({ isRoot && [a.pt_lg], ]}> - - - - + + + + + + - + {sanitizeDisplayName( post.author.displayName || sanitizeHandle(post.author.handle), moderation.ui('displayName'), )} - onPress={onOpenAuthor}> - - {sanitizeDisplayName( - post.author.displayName || - sanitizeHandle(post.author.handle), - moderation.ui('displayName'), - )} - - + - - - - {sanitizeHandle(post.author.handle, '@')} - - - - - - + + {sanitizeHandle(post.author.handle, '@')} + + + + {showFollowButton && ( - + )} -- cgit 1.4.1