From 13147f5c434e1d8a6f661fc9986cce833a03451e Mon Sep 17 00:00:00 2001 From: Innei Date: Sat, 18 Oct 2025 20:48:41 +0800 Subject: [PATCH] fix: update UserChatMessage styling - Changed background styling in UserChatMessage to use `bg-fill` for consistency. - Updated button variant in AIChatPane from `ghost` to `outline` for better visibility. - Simplified the bottom panel layout in AIChatInterface by removing unnecessary class names. - Enhanced the FeedSelectionFirstScreen with a new gradient background and improved content structure. Signed-off-by: Innei --- .../components/message/UserChatMessage.tsx | 3 +- .../modules/new-user-guide/ai-chat-pane.tsx | 11 +--- .../new-user-guide/feeds-selection-list.tsx | 58 ++++++++++++++----- 3 files changed, 47 insertions(+), 25 deletions(-) diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/UserChatMessage.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/UserChatMessage.tsx index 8a6afeff5..f644b3d2e 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/UserChatMessage.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/message/UserChatMessage.tsx @@ -140,8 +140,7 @@ export const UserChatMessage: React.FC = React.memo(({ mes onMouseLeave={() => setIsHovered(false)} >
- {/* Normal message display - always rendered to maintain layout */} -
+
diff --git a/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx b/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx index 97aae221a..66e424ab1 100644 --- a/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx +++ b/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx @@ -145,7 +145,7 @@ function AIChatPaneImpl() {
-
@@ -515,14 +515,7 @@ function AIChatInterface({ inputRef }: AIChatInterfaceProps) {
)} -
+
{error && }