From b644bb8628ea0f27369588a2666dd5a5b3dd4f3a Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 19 Dec 2024 21:34:04 -0800 Subject: [PATCH] Further improve mobile friendliness --- .../allConversations/allConversations.tsx | 12 ++++++++--- .../app/components/appSidebar/appSidebar.tsx | 20 +++++++++++++------ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/interface/web/app/components/allConversations/allConversations.tsx b/src/interface/web/app/components/allConversations/allConversations.tsx index ba28d5d3..3506d7a2 100644 --- a/src/interface/web/app/components/allConversations/allConversations.tsx +++ b/src/interface/web/app/components/allConversations/allConversations.tsx @@ -637,9 +637,15 @@ export function ChatSessionActionMenu(props: ChatSessionActionMenuProps) { )} setIsOpen(open)} open={isOpen}> - - - + {props.sizing === "lg" || props.sizing === "md" ? ( + + ) : ( + + + + )} setIsRenaming(true)}> diff --git a/src/interface/web/app/components/appSidebar/appSidebar.tsx b/src/interface/web/app/components/appSidebar/appSidebar.tsx index b66d91b9..3023f28c 100644 --- a/src/interface/web/app/components/appSidebar/appSidebar.tsx +++ b/src/interface/web/app/components/appSidebar/appSidebar.tsx @@ -86,12 +86,20 @@ export function AppSidebar(props: AppSidebarProps) { - - - - Khoj - - + {open ? ( + + + + + + ) : ( + + + + Khoj + + + )}