From 6076f4a00a0e9f90ffe7c7c02d91f0a3cbf88a48 Mon Sep 17 00:00:00 2001 From: Dens Sumesh Date: Thu, 9 Jan 2025 12:48:50 -0800 Subject: [PATCH] bugfix: fix floating clear button, bugfix: fix margin bar too high issue --- .../src/TrieveModal/Chat/ChatMode.tsx | 16 ---------------- .../src/TrieveModal/Search/UploadImage.tsx | 2 +- .../search-component/src/TrieveModal/index.css | 8 -------- 3 files changed, 1 insertion(+), 25 deletions(-) diff --git a/clients/search-component/src/TrieveModal/Chat/ChatMode.tsx b/clients/search-component/src/TrieveModal/Chat/ChatMode.tsx index 2a1de49eb..925ea4b03 100644 --- a/clients/search-component/src/TrieveModal/Chat/ChatMode.tsx +++ b/clients/search-component/src/TrieveModal/Chat/ChatMode.tsx @@ -96,22 +96,6 @@ export const ChatMode = () => { )} - {!props.inline && (currentQuestion || messages.length) ? ( -
- -
- ) : null}
{ mode === "chat" ? "right-14" : query.length == 0 - ? "right-[9.5rem]" + ? "right-[10rem]" : "right-10" } absolute z-20 dark:text-white text-zinc-700`} > diff --git a/clients/search-component/src/TrieveModal/index.css b/clients/search-component/src/TrieveModal/index.css index 087013c59..3779bce2e 100644 --- a/clients/search-component/src/TrieveModal/index.css +++ b/clients/search-component/src/TrieveModal/index.css @@ -80,10 +80,6 @@ body { .chat-outer-wrapper { @apply justify-between w-full h-full; - - &.chat-outer-popup { - @apply mt-10 sm:mt-12; - } } } @@ -592,10 +588,6 @@ body { .chat-outer-wrapper { @apply flex flex-col px-4 scroll-smooth mt-0; - &.chat-outer-popup { - @apply mt-12; - } - .ai-message { .message-wrapper { @apply col-span-2 pr-4;