This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

web/components: centre the comment thread connector on the avatars

the connector grew rightward from left-4, so its 2px width put its centre one
pixel right of the 32px avatar column it's meant to track. -translate-x-1/2
centres it on that same reference point.

Signed-off-by: eti <eti@eti.tf>

author
eti
committer
dawn
date (Jul 31, 2026, 10:57 PM +0300) commit fffb1708 parent bd1c5a44 change-id uxyslskz
+1 -1
+1 -1
web/src/lib/components/comment/CommentCard.svelte
··· 135 135 <div class="group relative isolate -ml-4"> 136 136 <!-- thread connector; on the last reply it stops at the avatar's centre (h-8) --> 137 137 <div 138 - class={`pointer-events-none absolute top-0 left-4 -z-10 w-0.5 bg-border-default ${i === thread.replies.length - 1 ? "h-8" : "bottom-0"}`} 138 + class={`pointer-events-none absolute top-0 left-4 -z-10 w-0.5 -translate-x-1/2 bg-border-default ${i === thread.replies.length - 1 ? "h-8" : "bottom-0"}`} 139 139 ></div> 140 140 <Comment 141 141 authorHandle={reply.authorHandle}