Spaces:
Running
Running
Merge pull request #1 from meetpateltech/sidebar-chat-fix
Browse files
components/chat-sidebar.tsx
CHANGED
@@ -138,7 +138,10 @@ export function ChatSidebar() {
|
|
138 |
)}>
|
139 |
Chats
|
140 |
</SidebarGroupLabel>
|
141 |
-
<SidebarGroupContent className=
|
|
|
|
|
|
|
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"}`}>
|