From 60af173c4a666cb1fa87b8edf154cd97eec8f669 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sun, 4 Aug 2024 14:48:44 +0530 Subject: [PATCH] Improve responsive spacing of chat page footer buttons - Remove x axis footer padding on small screens to preserve space, keep equal spacing between footer items - Add 1rem margin to buttons to not have overlap in boundary - Add 1rem y-axis padding to chat footer to not have focus boundary leave the footer boundary on smaller screens --- src/interface/web/app/chat/chat.module.css | 2 -- src/interface/web/app/chat/page.tsx | 2 +- .../components/chatInputArea/chatInputArea.tsx | 17 ++++++++--------- src/interface/web/app/page.tsx | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/interface/web/app/chat/chat.module.css b/src/interface/web/app/chat/chat.module.css index fd59a045..97f08a29 100644 --- a/src/interface/web/app/chat/chat.module.css +++ b/src/interface/web/app/chat/chat.module.css @@ -18,8 +18,6 @@ div.inputBox { border: 1px solid var(--border-color); margin-bottom: 20px; gap: 12px; - padding-left: 20px; - padding-right: 20px; align-content: center; } diff --git a/src/interface/web/app/chat/page.tsx b/src/interface/web/app/chat/page.tsx index ffb99ab8..c9dd3ddb 100644 --- a/src/interface/web/app/chat/page.tsx +++ b/src/interface/web/app/chat/page.tsx @@ -86,7 +86,7 @@ function ChatBodyData(props: ChatBodyDataProps) { incomingMessages={props.streamedMessages} /> -
+