From 4188c9a1ddb612c2cf2663082b7660ee9d31f346 Mon Sep 17 00:00:00 2001 From: hjlarry Date: Wed, 24 Sep 2025 10:08:33 +0800 Subject: [PATCH] fix dark theme --- web/app/components/base/user-avatar-list/index.tsx | 4 ++-- web/app/components/workflow/comment/comment-icon.tsx | 2 +- web/app/components/workflow/comment/cursor.tsx | 2 +- .../components/workflow/comment/mention-input.tsx | 12 ++++++------ web/app/components/workflow/comment/thread.tsx | 2 +- web/app/components/workflow/header/online-users.tsx | 6 +++--- web/app/components/workflow/operator/zoom-in-out.tsx | 6 +++--- .../workflow/panel/comments-panel/index.tsx | 8 ++++---- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/web/app/components/base/user-avatar-list/index.tsx b/web/app/components/base/user-avatar-list/index.tsx index e9325a985d..0a0a920f57 100644 --- a/web/app/components/base/user-avatar-list/index.tsx +++ b/web/app/components/base/user-avatar-list/index.tsx @@ -50,7 +50,7 @@ export const UserAvatarList: FC = memo(({ name={user.name} avatar={user.avatar_url || null} size={size} - className='ring-2 ring-white' + className='ring-2 ring-components-panel-bg' backgroundColor={userColor} /> @@ -60,7 +60,7 @@ export const UserAvatarList: FC = memo(({ )} {shouldShowCount && remainingCount > 0 && (
= memo(({ comment, onClick }) => className={'relative h-10 overflow-hidden rounded-br-full rounded-tl-full rounded-tr-full'} style={{ width: dynamicWidth }} > -
+
= memo(({ mousePosition }) => transform: 'translate(-50%, -50%)', }} > - +
) }) diff --git a/web/app/components/workflow/comment/mention-input.tsx b/web/app/components/workflow/comment/mention-input.tsx index 48c957c479..3213942572 100644 --- a/web/app/components/workflow/comment/mention-input.tsx +++ b/web/app/components/workflow/comment/mention-input.tsx @@ -322,10 +322,10 @@ export const MentionInput: FC = memo(({ {!isEditing && (
- +
)} @@ -341,10 +341,10 @@ export const MentionInput: FC = memo(({ {isEditing && (
- +