From 6f6b0ac953876f7ef8988eb8a0c0bfcbd8fb19f3 Mon Sep 17 00:00:00 2001 From: Innei Date: Mon, 6 Oct 2025 00:25:32 +0800 Subject: [PATCH] feat: adjust mask background styling - Updated ChatInterface to improve the gradient mask and backdrop filter for better visual effects. - Refined ChatMoreDropdown by removing unnecessary padding from the DropdownMenuSubContent for a cleaner layout. Signed-off-by: Innei --- .../components/layouts/ChatInterface.tsx | 29 ++++++++++++++----- .../components/layouts/ChatMoreDropdown.tsx | 2 +- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatInterface.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatInterface.tsx index 99aaa37fa..51c42b6a1 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatInterface.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatInterface.tsx @@ -377,13 +377,28 @@ const ChatInterfaceContent = ({ centerInputOnEmpty }: ChatInterfaceProps) => { {(!centerInputOnEmpty || hasMessages) && ( -
+
+
+ +
+
)}
diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatMoreDropdown.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatMoreDropdown.tsx index b29da573c..2249ca66a 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatMoreDropdown.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatMoreDropdown.tsx @@ -127,7 +127,7 @@ export const ChatMoreDropdown = ({ Chat History - + {loading ? (