From 7a2e4911991521adc0dd92afb80c47523d806cf5 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Tue, 7 May 2024 20:37:05 +0530 Subject: [PATCH] fix(UI):conversation,settings --- frontend/src/App.tsx | 2 +- frontend/src/Modal/index.tsx | 6 +++--- frontend/src/conversation/Conversation.tsx | 6 +++--- frontend/src/conversation/ConversationBubble.tsx | 2 +- frontend/src/preferences/DeleteConvModal.tsx | 5 ++--- frontend/src/settings/Documents.tsx | 4 ++-- frontend/src/settings/General.tsx | 4 ++-- 7 files changed, 14 insertions(+), 15 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 987f38e..4a8ef6c 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -19,7 +19,7 @@ export default function App() {
diff --git a/frontend/src/Modal/index.tsx b/frontend/src/Modal/index.tsx index bc5f025..a13d703 100644 --- a/frontend/src/Modal/index.tsx +++ b/frontend/src/Modal/index.tsx @@ -19,18 +19,18 @@ const Modal = (props: ModalProps) => { } absolute z-30 h-screen w-screen bg-gray-alpha`} > {props.render()} -
+
{props.isCancellable && ( diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx index b4efe80..c6632da 100644 --- a/frontend/src/conversation/Conversation.tsx +++ b/frontend/src/conversation/Conversation.tsx @@ -133,7 +133,7 @@ export default function Conversation() {
{queries.length > 0 && !hasScrolledToLast && ( )} {queries.length > 0 && ( -
+
{queries.map((query, index) => { return ( diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index e8caf2f..7bd26f2 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -88,7 +88,7 @@ const ConversationBubble = forwardRef< alert )} -

+

Are you sure you want to delete all the conversations?

-

); }} diff --git a/frontend/src/settings/Documents.tsx b/frontend/src/settings/Documents.tsx index bccefd3..e9d9c1c 100644 --- a/frontend/src/settings/Documents.tsx +++ b/frontend/src/settings/Documents.tsx @@ -8,8 +8,8 @@ const Documents: React.FC = ({ return (
-
- +
+
diff --git a/frontend/src/settings/General.tsx b/frontend/src/settings/General.tsx index 6af23b9..6d5e85e 100644 --- a/frontend/src/settings/General.tsx +++ b/frontend/src/settings/General.tsx @@ -100,10 +100,10 @@ const General: React.FC = () => { Delete all conversations

Document Name