From 77580ab6a4df8e233e5b1a9b166eebbca9bdc80f Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 18 Jan 2023 11:15:40 -0600 Subject: Rework all typography --- src/view/com/post-thread/PostThreadItem.tsx | 40 +++++++++++++++++------------ 1 file changed, 23 insertions(+), 17 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 86e428621..2456da5a4 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -130,17 +130,19 @@ export const PostThreadItem = observer(function PostThreadItem({ - - - {item.post.author.displayName || item.post.author.handle} + + + + {item.post.author.displayName || item.post.author.handle} + + + + · {ago(item.post.indexedAt)} - - - · {ago(item.post.indexedAt)} - + - + @{item.post.author.handle} @@ -176,9 +178,10 @@ export const PostThreadItem = observer(function PostThreadItem({ styles.postTextLargeContainer, ]}> ) : undefined} @@ -190,8 +193,8 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.expandedInfoItem} href={repostsHref} title={repostsTitle}> - - + + {item.post.repostCount} {' '} {pluralize(item.post.repostCount, 'repost')} @@ -205,8 +208,8 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.expandedInfoItem} href={upvotesHref} title={upvotesTitle}> - - + + {item.post.upvoteCount} {' '} {pluralize(item.post.upvoteCount, 'like')} @@ -289,14 +292,16 @@ export const PostThreadItem = observer(function PostThreadItem({ {item.post.author.viewer?.muted ? ( - This post is by a muted account. + This post is by a muted account. ) : record.text ? ( ) : ( @@ -394,6 +399,7 @@ const styles = StyleSheet.create({ alignItems: 'center', flexWrap: 'wrap', paddingBottom: 8, + paddingRight: 20, minHeight: 36, }, postTextLargeContainer: { -- cgit 1.4.1