From 56f04b9627c288091eaebf53dc734db380090506 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Fri, 23 May 2025 12:12:41 -0700 Subject: [PATCH] Fixed scrolling --- frontend/src/NewApp/Components/Conversation.css | 3 --- frontend/src/NewApp/Components/Conversation.tsx | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/NewApp/Components/Conversation.css b/frontend/src/NewApp/Components/Conversation.css index e8414b0..902c38d 100644 --- a/frontend/src/NewApp/Components/Conversation.css +++ b/frontend/src/NewApp/Components/Conversation.css @@ -6,9 +6,6 @@ padding: 10px; flex-direction: column; font-size: 0.9rem; - width: 100%; - margin: 0 auto; - overflow-y: auto; justify-content: center; } diff --git a/frontend/src/NewApp/Components/Conversation.tsx b/frontend/src/NewApp/Components/Conversation.tsx index 60d1ba4..d14b8a2 100644 --- a/frontend/src/NewApp/Components/Conversation.tsx +++ b/frontend/src/NewApp/Components/Conversation.tsx @@ -366,7 +366,8 @@ const Conversation = forwardRef((props: C // ...sx // }} // > - + + { filteredConversation.map((message, index) => @@ -459,6 +460,7 @@ const Conversation = forwardRef((props: C } + ); });