From dbce039033707435b7bf44242237de4684a35522 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 19 Jan 2025 18:11:53 -0800 Subject: [PATCH] Revert the `fixed` hack to hide horizontal spacing issue with sidebar because it breaks the animation on closed. Sigh. --- src/interface/web/app/components/chatSidebar/chatSidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface/web/app/components/chatSidebar/chatSidebar.tsx b/src/interface/web/app/components/chatSidebar/chatSidebar.tsx index 6519833c..c5f7b131 100644 --- a/src/interface/web/app/components/chatSidebar/chatSidebar.tsx +++ b/src/interface/web/app/components/chatSidebar/chatSidebar.tsx @@ -192,7 +192,7 @@ function ChatSidebarInternal({ ...props }: ChatSideBarProps) { className={`ml-auto opacity-30 rounded-lg p-2 transition-all transform duration-300 ease-in-out ${props.isOpen ? "translate-x-0 opacity-100 w-[300px] relative" - : "translate-x-full opacity-0 w-0 p-0 m-0 fixed"} + : "translate-x-full opacity-0 w-0 p-0 m-0"} `} variant="floating">