about summary refs log tree commit diff
path: root/src/view/com/notifications/FeedItem.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-02-24 11:40:43 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-02-24 11:40:43 -0600
commitd97e2335181fc4d280cb6e4fb67cec8509e1569b (patch)
tree5804a5b878a9243a582879652f18d7dfb3951d15 /src/view/com/notifications/FeedItem.tsx
parent80bd3398d768b9529d97d48579555358b35616db (diff)
downloadvoidsky-d97e2335181fc4d280cb6e4fb67cec8509e1569b.tar.zst
Fixes to lineheight on web to counteract emoji issues
Diffstat (limited to 'src/view/com/notifications/FeedItem.tsx')
-rw-r--r--src/view/com/notifications/FeedItem.tsx12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx
index 94bedc46f..68f12b721 100644
--- a/src/view/com/notifications/FeedItem.tsx
+++ b/src/view/com/notifications/FeedItem.tsx
@@ -188,7 +188,7 @@ export const FeedItem = observer(function FeedItem({
                   style={styles.metaItem}
                   href={authors[0].href}
                   title={`@${authors[0].handle}`}>
-                  <Text style={[pal.text, s.bold]}>
+                  <Text style={[pal.text, s.bold]} lineHeight={1.2}>
                     {authors[0].displayName || authors[0].handle}
                   </Text>
                 </Link>
@@ -333,10 +333,16 @@ function ExpandedAuthorsList({
             />
           </View>
           <View style={s.flex1}>
-            <Text type="lg-bold" numberOfLines={1} style={pal.text}>
+            <Text
+              type="lg-bold"
+              numberOfLines={1}
+              style={pal.text}
+              lineHeight={1.2}>
               {author.displayName || author.handle}
               &nbsp;
-              <Text style={[pal.textLight]}>{author.handle}</Text>
+              <Text style={[pal.textLight]} lineHeight={1.2}>
+                {author.handle}
+              </Text>
             </Text>
           </View>
         </Link>