diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-02-24 11:40:43 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-02-24 11:40:43 -0600 |
commit | d97e2335181fc4d280cb6e4fb67cec8509e1569b (patch) | |
tree | 5804a5b878a9243a582879652f18d7dfb3951d15 /src/view/com/util/PostMeta.tsx | |
parent | 80bd3398d768b9529d97d48579555358b35616db (diff) | |
download | voidsky-d97e2335181fc4d280cb6e4fb67cec8509e1569b.tar.zst |
Fixes to lineheight on web to counteract emoji issues
Diffstat (limited to 'src/view/com/util/PostMeta.tsx')
-rw-r--r-- | src/view/com/util/PostMeta.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/com/util/PostMeta.tsx b/src/view/com/util/PostMeta.tsx index 16b9535ff..6ba6fac1b 100644 --- a/src/view/com/util/PostMeta.tsx +++ b/src/view/com/util/PostMeta.tsx @@ -35,7 +35,11 @@ export function PostMeta(opts: PostMetaOpts) { return ( <View style={styles.meta}> <View style={[styles.metaItem, styles.maxWidth]}> - <Text type="lg-bold" style={[pal.text]} numberOfLines={1}> + <Text + type="lg-bold" + style={[pal.text]} + numberOfLines={1} + lineHeight={1.2}> {displayName} {handle ? ( <Text type="md" style={[pal.textLight]}> @@ -44,7 +48,7 @@ export function PostMeta(opts: PostMetaOpts) { ) : undefined} </Text> </View> - <Text type="md" style={[styles.metaItem, pal.textLight]}> + <Text type="md" style={[styles.metaItem, pal.textLight]} lineHeight={1.2}> · {ago(opts.timestamp)} </Text> </View> |