Add min height to post text

This commit is contained in:
Paul Frazee
2022-11-18 10:58:48 -06:00
parent 2a4391af97
commit 67fb6b23da
4 changed files with 16 additions and 4 deletions
+7 -1
View File
@@ -147,7 +147,7 @@ export const Post = observer(function Post({uri}: {uri: string}) {
<RichText
text={record.text}
entities={record.entities}
style={[s.f16, s['lh16-1.3']]}
style={styles.postText}
/>
</View>
<PostCtrls
@@ -191,4 +191,10 @@ const styles = StyleSheet.create({
flexWrap: 'wrap',
paddingBottom: 8,
},
postText: {
fontFamily: 'Helvetica Neue',
fontSize: 17,
lineHeight: 22.1, // 1.3 of 17px
minHeight: 28,
},
})