Add min height to post text
This commit is contained in:
parent
ff68e5b85a
commit
69609d8732
4 changed files with 16 additions and 4 deletions
|
@ -294,7 +294,7 @@ export const PostThreadItem = observer(function PostThreadItem({
|
|||
<RichText
|
||||
text={record.text}
|
||||
entities={record.entities}
|
||||
style={[styles.postText, s.f17, s['lh17-1.3']]}
|
||||
style={[styles.postText]}
|
||||
/>
|
||||
</View>
|
||||
<PostCtrls
|
||||
|
@ -361,6 +361,9 @@ const styles = StyleSheet.create({
|
|||
},
|
||||
postText: {
|
||||
fontFamily: 'Helvetica Neue',
|
||||
fontSize: 17,
|
||||
lineHeight: 22.1, // 1.3 of 17px
|
||||
minHeight: 28,
|
||||
},
|
||||
postTextContainer: {
|
||||
flexDirection: 'row',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue