From 89a5f5259b74c77da44054909bb867d4c5dc3efa Mon Sep 17 00:00:00 2001 From: shine1i Date: Sun, 1 Feb 2026 08:09:17 +0100 Subject: [PATCH] refactor: chat input bg with fade, reuse it in composer view as well --- frontend/src/components/assistant-ui/thread.tsx | 7 ++++--- frontend/src/features/chat/chat-page.tsx | 2 +- frontend/src/features/chat/shared-composer.tsx | 2 +- frontend/src/features/chat/thread-sidebar.tsx | 3 +-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/assistant-ui/thread.tsx b/frontend/src/components/assistant-ui/thread.tsx index 6ec6022ff0..2ddf6fa65e 100644 --- a/frontend/src/components/assistant-ui/thread.tsx +++ b/frontend/src/components/assistant-ui/thread.tsx @@ -66,7 +66,7 @@ export const Thread: FC<{ hideComposer?: boolean; hideWelcome?: boolean }> = ({ }} /> - + !thread.isEmpty}> {!hideComposer && } @@ -138,6 +138,7 @@ const ComposerAnimated: FC = () => { layout={true} layoutId="composer" transition={{ type: "spring", bounce: 0.15, duration: 0.5 }} + className="mx-auto w-full max-w-(--thread-max-width)" > @@ -147,11 +148,11 @@ const ComposerAnimated: FC = () => { const Composer: FC = () => { return ( - + diff --git a/frontend/src/features/chat/shared-composer.tsx b/frontend/src/features/chat/shared-composer.tsx index 76ce776119..f990d42b5a 100644 --- a/frontend/src/features/chat/shared-composer.tsx +++ b/frontend/src/features/chat/shared-composer.tsx @@ -114,7 +114,7 @@ export function SharedComposer({ } return ( -
+