From 91cbe0b104e8e43f724446e56c0b86dd8a1173df Mon Sep 17 00:00:00 2001 From: Syed Muzamil <38078427+SyedMuzamilM@users.noreply.github.com> Date: Sun, 2 Apr 2023 10:41:03 +0530 Subject: [PATCH] fix: some ui issues (#346) * fix: scroll button not visible in light mode * fix: sidebar when there is a folder When a folder is added in the sidebar and there are less items scroll bar appears. This simple change fixes that behaviour * fix: small devices regerate/Stop button below input Below 768px Stop Genrating and Regerate Button remains hidden behind the input. This is the fix for that --- components/Chat/Chat.tsx | 2 +- components/Chat/ChatInput.tsx | 17 +++++++---------- components/Chatbar/Chatbar.tsx | 2 +- components/Promptbar/Promptbar.tsx | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index 67959ae..d5e7a43 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -318,7 +318,7 @@ export const Chat: FC = memo( {showScrollDownButton && (