Browse Source

Fix: web app sidebar cannot close when long title conversation existed (#16593)

KVOJJJin 1 month ago
parent
commit
e2988acc2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/app/components/base/chat/chat-with-history/sidebar/index.tsx

+ 1 - 1
web/app/components/base/chat/chat-with-history/sidebar/index.tsx

@@ -78,7 +78,7 @@ const Sidebar = ({ isPanel }: Props) => {
 
   return (
     <div className={cn(
-      'flex grow flex-col',
+      'flex w-0 grow flex-col',
       isPanel && 'rounded-xl border-[0.5px] border-components-panel-border-subtle bg-components-panel-bg shadow-lg',
     )}>
       <div className={cn(