about summary refs log tree commit diff
path: root/src/view/com/posts/FeedItem.tsx
diff options
context:
space:
mode:
authorOllie H <renahlee@outlook.com>2023-05-11 08:38:54 -0700
committerGitHub <noreply@github.com>2023-05-11 10:38:54 -0500
commit19d6ded631b3a22bc44e7763bf1f75efa704be4d (patch)
tree6dce18c648a1ea22cbb7829fd97f8e3cbb72d06d /src/view/com/posts/FeedItem.tsx
parent0192923ef3a13468d6a3cb86793c31af5e693335 (diff)
downloadvoidsky-19d6ded631b3a22bc44e7763bf1f75efa704be4d.tar.zst
Prevent reply to from cascading (#610)
Diffstat (limited to 'src/view/com/posts/FeedItem.tsx')
-rw-r--r--src/view/com/posts/FeedItem.tsx20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx
index ff1f46db1..b4708cf53 100644
--- a/src/view/com/posts/FeedItem.tsx
+++ b/src/view/com/posts/FeedItem.tsx
@@ -221,15 +221,19 @@ export const FeedItem = observer(function ({
                   s.mr5,
                 ]}
               />
-              <Text type="md" style={[pal.textLight, s.mr2]} lineHeight={1.2}>
-                Reply to
-              </Text>
-              <UserInfoText
+              <Text
                 type="md"
-                did={replyAuthorDid}
-                attr="displayName"
-                style={[pal.textLight, s.ml2]}
-              />
+                style={[pal.textLight, s.mr2]}
+                lineHeight={1.2}
+                numberOfLines={1}>
+                Reply to{' '}
+                <UserInfoText
+                  type="md"
+                  did={replyAuthorDid}
+                  attr="displayName"
+                  style={[pal.textLight, s.ml2]}
+                />
+              </Text>
             </View>
           )}
           <ContentHider