diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-18 11:37:12 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-18 11:37:12 -0600 |
commit | 2f9dd131f9d2db2e5d66c20f1ff576f292cdd46a (patch) | |
tree | 0b366d5bd1874622aef5c2f4567b37087dd5fa47 /src | |
parent | 5efd0a5b7eaf3ec274010e3bb5ad3845f855ba71 (diff) | |
download | voidsky-2f9dd131f9d2db2e5d66c20f1ff576f292cdd46a.tar.zst |
Spacing and sizing fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/post-thread/PostThreadItem.tsx | 14 | ||||
-rw-r--r-- | src/view/com/post/Post.tsx | 2 | ||||
-rw-r--r-- | src/view/com/posts/FeedItem.tsx | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index fcfc99e7d..0c4565c51 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -163,8 +163,8 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.expandedInfoItem} href={repostsHref} title={repostsTitle}> - <Text style={[s.gray5, s.semiBold, s.f16]}> - <Text style={[s.bold, s.black, s.f16]}> + <Text style={[s.gray5, s.semiBold, s.f18]}> + <Text style={[s.bold, s.black, s.f18]}> {item.repostCount} </Text>{' '} {pluralize(item.repostCount, 'repost')} @@ -178,8 +178,8 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.expandedInfoItem} href={upvotesHref} title={upvotesTitle}> - <Text style={[s.gray5, s.semiBold, s.f16]}> - <Text style={[s.bold, s.black, s.f16]}> + <Text style={[s.gray5, s.semiBold, s.f18]}> + <Text style={[s.bold, s.black, s.f18]}> {item.upvoteCount} </Text>{' '} {pluralize(item.upvoteCount, 'upvote')} @@ -193,8 +193,8 @@ export const PostThreadItem = observer(function PostThreadItem({ style={styles.expandedInfoItem} href={downvotesHref} title={downvotesTitle}> - <Text style={[s.gray5, s.semiBold, s.f16]}> - <Text style={[s.bold, s.black, s.f16]}> + <Text style={[s.gray5, s.semiBold, s.f18]}> + <Text style={[s.bold, s.black, s.f18]}> {item.downvoteCount} </Text>{' '} {pluralize(item.downvoteCount, 'downvote')} @@ -363,13 +363,13 @@ const styles = StyleSheet.create({ fontFamily: 'Helvetica Neue', fontSize: 17, lineHeight: 22.1, // 1.3 of 17px - minHeight: 28, }, postTextContainer: { flexDirection: 'row', alignItems: 'center', flexWrap: 'wrap', paddingBottom: 8, + minHeight: 36, }, postTextLarge: { fontSize: 24, diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 005ea8c7f..a5c084570 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -189,12 +189,12 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', flexWrap: 'wrap', + minHeight: 36, paddingBottom: 8, }, postText: { fontFamily: 'Helvetica Neue', fontSize: 17, lineHeight: 22.1, // 1.3 of 17px - minHeight: 28, }, }) diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx index 0458b0c9a..2898deff5 100644 --- a/src/view/com/posts/FeedItem.tsx +++ b/src/view/com/posts/FeedItem.tsx @@ -196,11 +196,11 @@ const styles = StyleSheet.create({ alignItems: 'center', flexWrap: 'wrap', paddingBottom: 8, + minHeight: 36, }, postText: { fontFamily: 'Helvetica Neue', fontSize: 17, lineHeight: 22.1, // 1.3 of 17px - minHeight: 28, }, }) |