From 5b17fa5ddaea213cae4eff0f0cbe73fba0f3105a Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Sat, 3 Aug 2024 13:05:29 +0530 Subject: [PATCH] Set home, chat page height so footer, header visible w/o scroll on phone Set dynamic view height of page to 100% --- src/interface/web/app/chat/chat.module.css | 3 +-- .../web/app/components/chatInputArea/chatInputArea.tsx | 2 +- src/interface/web/app/page.module.css | 7 ++----- src/interface/web/app/page.tsx | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/interface/web/app/chat/chat.module.css b/src/interface/web/app/chat/chat.module.css index 9ed5efc1..0b475881 100644 --- a/src/interface/web/app/chat/chat.module.css +++ b/src/interface/web/app/chat/chat.module.css @@ -1,5 +1,5 @@ div.main { - height: 100vh; + height: 100dvh; color: hsla(var(--foreground)); } @@ -120,5 +120,4 @@ div.agentIndicator { gap: 0; grid-template-columns: 1fr; } - } diff --git a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx index 089bc27f..d7461686 100644 --- a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx +++ b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx @@ -359,7 +359,7 @@ export default function ChatInputArea(props: ChatInputProps) { } -
+
-
+
{agentIcons.map((icon, index) => (