From f6864031413650a0be0e8a2d5305c1ad6f72a99a Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Tue, 28 Jan 2025 15:54:41 -0700 Subject: [PATCH] do not show next line --- .../ChatResponseMessage_File/ChatResponseMessage_File.tsx | 6 ++++++ web/src/context/Chats/MOCK_CHAT.ts | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/web/src/app/app/_layouts/ChatLayout/ChatContainer/ChatContent/ChatResponseMessages/ChatResponseMessage_File/ChatResponseMessage_File.tsx b/web/src/app/app/_layouts/ChatLayout/ChatContainer/ChatContent/ChatResponseMessages/ChatResponseMessage_File/ChatResponseMessage_File.tsx index 496e75635..a2c1fe504 100644 --- a/web/src/app/app/_layouts/ChatLayout/ChatContainer/ChatContent/ChatResponseMessages/ChatResponseMessage_File/ChatResponseMessage_File.tsx +++ b/web/src/app/app/_layouts/ChatLayout/ChatContainer/ChatContent/ChatResponseMessages/ChatResponseMessage_File/ChatResponseMessage_File.tsx @@ -140,6 +140,12 @@ const useStyles = createStyles(({ token, css }) => ({ display: none; } } + + &.file-card:has(+ .text-card) { + .vertical-divider.bottom-line { + display: none; + } + } `, fileContainer: css` border-radius: ${token.borderRadius}px; diff --git a/web/src/context/Chats/MOCK_CHAT.ts b/web/src/context/Chats/MOCK_CHAT.ts index 3acf3ef25..098968bc9 100644 --- a/web/src/context/Chats/MOCK_CHAT.ts +++ b/web/src/context/Chats/MOCK_CHAT.ts @@ -91,6 +91,11 @@ export const MOCK_CHAT: BusterChat = { createMockResponseMessageThought(), createMockResponseMessageThought(), createMockResponseMessageFile(), + createMockResponseMessageFile(), + createMockResponseMessageText(), + createMockResponseMessageText(), + createMockResponseMessageThought(), + createMockResponseMessageThought(), createMockResponseMessageFile() ] }