mukaddamzaid commited on
Commit
547981f
·
unverified ·
2 Parent(s): 6377651 2209024

Merge pull request #1 from meetpateltech/sidebar-chat-fix

Browse files
Files changed (1) hide show
  1. components/chat-sidebar.tsx +4 -1
components/chat-sidebar.tsx CHANGED
@@ -138,7 +138,10 @@ export function ChatSidebar() {
138
  )}>
139
  Chats
140
  </SidebarGroupLabel>
141
- <SidebarGroupContent className="overflow-y-auto pt-1">
 
 
 
142
  <SidebarMenu>
143
  {isLoading ? (
144
  <div className={`flex items-center justify-center py-4 ${isCollapsed ? "" : "px-4"}`}>
 
138
  )}>
139
  Chats
140
  </SidebarGroupLabel>
141
+ <SidebarGroupContent className={cn(
142
+ "overflow-y-auto pt-1",
143
+ isCollapsed ? "overflow-x-hidden" : ""
144
+ )}>
145
  <SidebarMenu>
146
  {isLoading ? (
147
  <div className={`flex items-center justify-center py-4 ${isCollapsed ? "" : "px-4"}`}>