diff --git a/src/ui/components/chat/message-card.tsx b/src/ui/components/chat/message-card.tsx index 844a89e5..94e8e673 100644 --- a/src/ui/components/chat/message-card.tsx +++ b/src/ui/components/chat/message-card.tsx @@ -126,17 +126,19 @@ export const MessageCard: React.FC = ({ : 'border-transparent bg-foreground/2 dark:bg-foreground/10 hover:bg-foreground/4 dark:hover:bg-foreground/15' }`} > - {hasReplies && !isReply && ( -
- )} + {/* Left Column: Avatar & Thread Lines */} +
+ {/* Thread line above avatar (for replies) */} + {isReply && ( +
+ )} - {isReply && !isLastReply && ( -
- )} + {/* Thread line under avatar (for parent comments with replies, or intermediate replies) */} + {((hasReplies && !isReply) || (isReply && !isLastReply)) && ( +
+ )} - {/* Avatar */} -
- + {creator?.name?.[0]?.toUpperCase() || 'U'}