Add min height to post text

This commit is contained in:
Paul Frazee 2022-11-18 10:58:48 -06:00
parent ff68e5b85a
commit 69609d8732
4 changed files with 16 additions and 4 deletions

View file

@ -143,7 +143,7 @@ export const FeedItem = observer(function FeedItem({
<RichText
text={record.text}
entities={record.entities}
style={[s.f17, s['lh17-1.3']]}
style={styles.postText}
/>
</View>
<PostCtrls
@ -199,5 +199,8 @@ const styles = StyleSheet.create({
},
postText: {
fontFamily: 'Helvetica Neue',
fontSize: 17,
lineHeight: 22.1, // 1.3 of 17px
minHeight: 28,
},
})