From 13240c7c266df196ce34a85a7fb6374f4477cf8b Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Fri, 7 Mar 2025 15:28:11 +0100 Subject: [PATCH] Invert background, add a subtle shadow --- src/components/thread/index.tsx | 4 ++-- src/components/thread/messages/ai.tsx | 5 +---- src/components/thread/messages/human.tsx | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/thread/index.tsx b/src/components/thread/index.tsx index a1fa7e9..2332f30 100644 --- a/src/components/thread/index.tsx +++ b/src/components/thread/index.tsx @@ -315,7 +315,7 @@ export function Thread() { -
+
Send diff --git a/src/components/thread/messages/ai.tsx b/src/components/thread/messages/ai.tsx index f606c1a..857085c 100644 --- a/src/components/thread/messages/ai.tsx +++ b/src/components/thread/messages/ai.tsx @@ -69,15 +69,12 @@ export function AssistantMessage({ return (
- - A - {isToolResult ? ( ) : (
{contentString.length > 0 && ( -
+
{contentString}
)} diff --git a/src/components/thread/messages/human.tsx b/src/components/thread/messages/human.tsx index 340a634..7c0b553 100644 --- a/src/components/thread/messages/human.tsx +++ b/src/components/thread/messages/human.tsx @@ -84,7 +84,7 @@ export function HumanMessage({ onSubmit={handleSubmitEdit} /> ) : ( -

{contentString}

+

{contentString}

)}