diff options
author | dan <dan.abramov@gmail.com> | 2024-02-06 20:44:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 12:44:33 -0800 |
commit | 9ccad0ba6c4d0730c3adfaa4b1e469445c7ea77f (patch) | |
tree | 84460fe15d5e1dbc09bff1163f8920e837d432f3 | |
parent | 41860d8b8084a6ca7af9f7938008eca86a5d08ab (diff) | |
download | voidsky-9ccad0ba6c4d0730c3adfaa4b1e469445c7ea77f.tar.zst |
Prevent post meta misclicks in QT (#2701)
-rw-r--r-- | src/view/com/util/post-embeds/QuoteEmbed.tsx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/view/com/util/post-embeds/QuoteEmbed.tsx b/src/view/com/util/post-embeds/QuoteEmbed.tsx index 256817bba..d9d84feb4 100644 --- a/src/view/com/util/post-embeds/QuoteEmbed.tsx +++ b/src/view/com/util/post-embeds/QuoteEmbed.tsx @@ -113,13 +113,15 @@ export function QuoteEmbed({ hoverStyle={{borderColor: pal.colors.borderLinkHover}} href={itemHref} title={itemTitle}> - <PostMeta - author={quote.author} - showAvatar - authorHasWarning={false} - postHref={itemHref} - timestamp={quote.indexedAt} - /> + <View pointerEvents="none"> + <PostMeta + author={quote.author} + showAvatar + authorHasWarning={false} + postHref={itemHref} + timestamp={quote.indexedAt} + /> + </View> {moderation ? ( <PostAlerts moderation={moderation} style={styles.alert} /> ) : null} |