From 06321af9e8bf7b2e77828e379d4fca5d36f569e5 Mon Sep 17 00:00:00 2001 From: Innei Date: Sat, 18 Oct 2025 21:51:42 +0800 Subject: [PATCH] fix: adjust scroll button positioning in ChatInterface - Updated the positioning of the scroll-to-bottom button in the ChatInterface component to improve visibility and accessibility. - Changed the bottom offset from 44 to 48 and adjusted the vertical translation for better alignment. Signed-off-by: Innei --- .../src/modules/ai-chat/components/layouts/ChatInterface.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 5dcc680de..19721800d 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 @@ -365,7 +365,9 @@ const ChatInterfaceContent = ({ centerInputOnEmpty }: ChatInterfaceProps) => { {shouldShowScrollToBottom && ( -
+