From be91db14d988daeca72e0016e70645bcc780c284 Mon Sep 17 00:00:00 2001 From: lyzno1 Date: Sat, 11 Oct 2025 15:08:27 +0800 Subject: [PATCH] fix: add hover effect to first message in CommentThread Wrap the root comment message with the same hover container as replies to ensure consistent hover behavior across all messages. --- .../components/workflow/comment/thread.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/web/app/components/workflow/comment/thread.tsx b/web/app/components/workflow/comment/thread.tsx index 9094e554c6..5444198663 100644 --- a/web/app/components/workflow/comment/thread.tsx +++ b/web/app/components/workflow/comment/thread.tsx @@ -322,15 +322,16 @@ export const CommentThread: FC = memo(({ ref={messageListRef} className='relative mt-2 flex-1 overflow-y-auto px-4 pb-4' > - +
+ +
{replies.length > 0 && (
{replies.map((reply) => {