From df623f2fd7d03ec135b50ed6c5c41bc8a1b4b719 Mon Sep 17 00:00:00 2001 From: celine Date: Sat, 24 Jan 2026 09:08:33 +0000 Subject: [PATCH] make the reply line emcompass it's replies as well --- app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx | 31 +++++-------------------------- app/lish/[did]/[publication]/[rkey]/ThreadPage.tsx | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------ 2 file(s) changed, 56 insertion(s)(+), 74 deletion(s)(-) diff --git a/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx b/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx --- a/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx +++ b/app/lish/[did]/[publication]/[rkey]/BskyPostContent.tsx @@ -52,42 +52,21 @@ const url = `https://bsky.app/profile/${post.author.handle}/post/${postId}`; return ( -
+ // pointer events non so that is there is a replyLine, it can be clicked even though its underneath the postContent (buttons here have pointer-events-auto applied to make them clickable) +
-
- {replyLine && ( - - )} +
- {replyLine && ( - - )}
)} +
0 && "pointer-events-none"}`} + > + { + e.preventDefault(); + props.toggleCollapsed(post.post.uri); + console.log(post.post.uri); + }} + onEmbedClick={(e) => e.stopPropagation()} + className="text-sm" + /> + {hasReplies && props.depth < 3 && ( +
+ {!props.isCollapsed && ( +
+ +
+ )} +
+ )} +
); }; -- tangled.sh