UI sizing fixes

This commit is contained in:
Paul Frazee 2022-09-09 11:29:46 -05:00
parent effe3d6b59
commit 44c85bbc56
6 changed files with 28 additions and 20 deletions

View file

@ -144,7 +144,7 @@ export const PostThreadItem = observer(function PostThreadItem({
</View>
</View>
<View style={[s.pl10, s.pr10, s.pb10]}>
<Text style={[styles.postText, s.f18, s['lh18-1.3']]}>
<Text style={[styles.postText, styles.postTextLarge]}>
{record.text}
</Text>
{item._isHighlightedPost && hasEngagement ? (
@ -272,9 +272,16 @@ const styles = StyleSheet.create({
paddingRight: 5,
},
postText: {
paddingBottom: 5,
paddingBottom: 8,
fontFamily: 'Helvetica Neue',
},
postTextLarge: {
paddingLeft: 4,
paddingBottom: 20,
fontSize: 24,
lineHeight: 32,
fontWeight: '300',
},
expandedInfo: {
flexDirection: 'row',
padding: 10,