Spacing and sizing fixes
parent
5efd0a5b7e
commit
2f9dd131f9
|
@ -163,8 +163,8 @@ export const PostThreadItem = observer(function PostThreadItem({
|
||||||
style={styles.expandedInfoItem}
|
style={styles.expandedInfoItem}
|
||||||
href={repostsHref}
|
href={repostsHref}
|
||||||
title={repostsTitle}>
|
title={repostsTitle}>
|
||||||
<Text style={[s.gray5, s.semiBold, s.f16]}>
|
<Text style={[s.gray5, s.semiBold, s.f18]}>
|
||||||
<Text style={[s.bold, s.black, s.f16]}>
|
<Text style={[s.bold, s.black, s.f18]}>
|
||||||
{item.repostCount}
|
{item.repostCount}
|
||||||
</Text>{' '}
|
</Text>{' '}
|
||||||
{pluralize(item.repostCount, 'repost')}
|
{pluralize(item.repostCount, 'repost')}
|
||||||
|
@ -178,8 +178,8 @@ export const PostThreadItem = observer(function PostThreadItem({
|
||||||
style={styles.expandedInfoItem}
|
style={styles.expandedInfoItem}
|
||||||
href={upvotesHref}
|
href={upvotesHref}
|
||||||
title={upvotesTitle}>
|
title={upvotesTitle}>
|
||||||
<Text style={[s.gray5, s.semiBold, s.f16]}>
|
<Text style={[s.gray5, s.semiBold, s.f18]}>
|
||||||
<Text style={[s.bold, s.black, s.f16]}>
|
<Text style={[s.bold, s.black, s.f18]}>
|
||||||
{item.upvoteCount}
|
{item.upvoteCount}
|
||||||
</Text>{' '}
|
</Text>{' '}
|
||||||
{pluralize(item.upvoteCount, 'upvote')}
|
{pluralize(item.upvoteCount, 'upvote')}
|
||||||
|
@ -193,8 +193,8 @@ export const PostThreadItem = observer(function PostThreadItem({
|
||||||
style={styles.expandedInfoItem}
|
style={styles.expandedInfoItem}
|
||||||
href={downvotesHref}
|
href={downvotesHref}
|
||||||
title={downvotesTitle}>
|
title={downvotesTitle}>
|
||||||
<Text style={[s.gray5, s.semiBold, s.f16]}>
|
<Text style={[s.gray5, s.semiBold, s.f18]}>
|
||||||
<Text style={[s.bold, s.black, s.f16]}>
|
<Text style={[s.bold, s.black, s.f18]}>
|
||||||
{item.downvoteCount}
|
{item.downvoteCount}
|
||||||
</Text>{' '}
|
</Text>{' '}
|
||||||
{pluralize(item.downvoteCount, 'downvote')}
|
{pluralize(item.downvoteCount, 'downvote')}
|
||||||
|
@ -363,13 +363,13 @@ const styles = StyleSheet.create({
|
||||||
fontFamily: 'Helvetica Neue',
|
fontFamily: 'Helvetica Neue',
|
||||||
fontSize: 17,
|
fontSize: 17,
|
||||||
lineHeight: 22.1, // 1.3 of 17px
|
lineHeight: 22.1, // 1.3 of 17px
|
||||||
minHeight: 28,
|
|
||||||
},
|
},
|
||||||
postTextContainer: {
|
postTextContainer: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
flexWrap: 'wrap',
|
flexWrap: 'wrap',
|
||||||
paddingBottom: 8,
|
paddingBottom: 8,
|
||||||
|
minHeight: 36,
|
||||||
},
|
},
|
||||||
postTextLarge: {
|
postTextLarge: {
|
||||||
fontSize: 24,
|
fontSize: 24,
|
||||||
|
|
|
@ -189,12 +189,12 @@ const styles = StyleSheet.create({
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
flexWrap: 'wrap',
|
flexWrap: 'wrap',
|
||||||
|
minHeight: 36,
|
||||||
paddingBottom: 8,
|
paddingBottom: 8,
|
||||||
},
|
},
|
||||||
postText: {
|
postText: {
|
||||||
fontFamily: 'Helvetica Neue',
|
fontFamily: 'Helvetica Neue',
|
||||||
fontSize: 17,
|
fontSize: 17,
|
||||||
lineHeight: 22.1, // 1.3 of 17px
|
lineHeight: 22.1, // 1.3 of 17px
|
||||||
minHeight: 28,
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -196,11 +196,11 @@ const styles = StyleSheet.create({
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
flexWrap: 'wrap',
|
flexWrap: 'wrap',
|
||||||
paddingBottom: 8,
|
paddingBottom: 8,
|
||||||
|
minHeight: 36,
|
||||||
},
|
},
|
||||||
postText: {
|
postText: {
|
||||||
fontFamily: 'Helvetica Neue',
|
fontFamily: 'Helvetica Neue',
|
||||||
fontSize: 17,
|
fontSize: 17,
|
||||||
lineHeight: 22.1, // 1.3 of 17px
|
lineHeight: 22.1, // 1.3 of 17px
|
||||||
minHeight: 28,
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue