diff options
Diffstat (limited to 'src/view/com')
-rw-r--r-- | src/view/com/post-thread/PostThreadItem.tsx | 5 | ||||
-rw-r--r-- | src/view/com/post/Post.tsx | 8 | ||||
-rw-r--r-- | src/view/com/posts/FeedItem.tsx | 5 |
3 files changed, 15 insertions, 3 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', diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 3ed56ca1f..005ea8c7f 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -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, + }, }) diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx index ba3c32706..0458b0c9a 100644 --- a/src/view/com/posts/FeedItem.tsx +++ b/src/view/com/posts/FeedItem.tsx @@ -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, }, }) |