diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-18 10:58:48 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-18 10:58:48 -0600 |
commit | 69609d8732b67839c5be2a7463d52d8e0e707f6d (patch) | |
tree | cc4a6a8e1de48842dece0cde926b71c8b95d9062 /src/view/com/post-thread/PostThreadItem.tsx | |
parent | ff68e5b85a3042d008a06cd3e9b2e760d8c159af (diff) | |
download | voidsky-69609d8732b67839c5be2a7463d52d8e0e707f6d.tar.zst |
Add min height to post text
Diffstat (limited to 'src/view/com/post-thread/PostThreadItem.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThreadItem.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index 6c2f77030..fcfc99e7d 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -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', |