From ff9161d8e70fc2e6d066fd045bd2a380c63cb46c Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Sat, 5 Nov 2022 16:12:06 -0500 Subject: Sizing and spacing fixes based on on-device testing --- src/view/com/post-thread/PostThreadItem.tsx | 58 ++++++++++++++--------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'src/view/com/post-thread/PostThreadItem.tsx') diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index 7add92361..17f37cb2e 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -77,14 +77,14 @@ export const PostThreadItem = observer(function PostThreadItem({ /> - + - {item.author.displayName} + {item.author.displayName} - + · {ago(item.indexedAt)} @@ -104,7 +104,7 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.metaItem} href={authorHref} title={authorTitle}> - @{item.author.handle} + @{item.author.handle} @@ -125,8 +125,10 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.expandedInfoItem} href={repostsHref} title={repostsTitle}> - - {item.repostCount}{' '} + + + {item.repostCount} + {' '} {pluralize(item.repostCount, 'repost')} @@ -138,8 +140,10 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.expandedInfoItem} href={likesHref} title={likesTitle}> - - {item.likeCount}{' '} + + + {item.likeCount} + {' '} {pluralize(item.likeCount, 'like')} @@ -205,37 +209,20 @@ export const PostThreadItem = observer(function PostThreadItem({ /> - {item.replyingToAuthor && - item.replyingToAuthor !== item.author.handle && ( - - - - - @{item.replyingToAuthor} - - - - )} - {item.author.displayName} + {item.author.displayName} - @{item.author.handle} + @{item.author.handle} - + · {ago(item.indexedAt)} @@ -250,11 +237,24 @@ export const PostThreadItem = observer(function PostThreadItem({ /> + {item.replyingToAuthor && + item.replyingToAuthor !== item.author.handle && ( + + Replying to + + + @{item.replyingToAuthor} + + + + )}