about summary refs log tree commit diff
path: root/src/view/com/post/Post.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-18 10:58:48 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-11-18 10:58:48 -0600
commit69609d8732b67839c5be2a7463d52d8e0e707f6d (patch)
treecc4a6a8e1de48842dece0cde926b71c8b95d9062 /src/view/com/post/Post.tsx
parentff68e5b85a3042d008a06cd3e9b2e760d8c159af (diff)
downloadvoidsky-69609d8732b67839c5be2a7463d52d8e0e707f6d.tar.zst
Add min height to post text
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r--src/view/com/post/Post.tsx8
1 files changed, 7 insertions, 1 deletions
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,
+  },
 })