Spaces:
Sleeping
Sleeping
Update web/src/components/LeftSidebar.tsx
Browse files
web/src/components/LeftSidebar.tsx
CHANGED
|
@@ -340,7 +340,7 @@ export function LeftSidebar({
|
|
| 340 |
const courseDisplayInfo = getCourseDisplayInfo();
|
| 341 |
|
| 342 |
return (
|
| 343 |
-
// Sidebar itself does NOT scroll; only
|
| 344 |
<div className="h-full min-h-0 flex flex-col overflow-hidden">
|
| 345 |
{/* ========== FIXED TOP (no scroll) ========== */}
|
| 346 |
{isLoggedIn && courseDisplayInfo && (
|
|
@@ -467,8 +467,8 @@ export function LeftSidebar({
|
|
| 467 |
</div>
|
| 468 |
)}
|
| 469 |
|
| 470 |
-
{/* ==========
|
| 471 |
-
<div className="flex-1 min-h-0 overflow-
|
| 472 |
<SavedChatSection
|
| 473 |
isLoggedIn={isLoggedIn}
|
| 474 |
savedChats={savedChats}
|
|
|
|
| 340 |
const courseDisplayInfo = getCourseDisplayInfo();
|
| 341 |
|
| 342 |
return (
|
| 343 |
+
// ✅ Sidebar itself does NOT scroll; only SavedChatSection's list scrolls.
|
| 344 |
<div className="h-full min-h-0 flex flex-col overflow-hidden">
|
| 345 |
{/* ========== FIXED TOP (no scroll) ========== */}
|
| 346 |
{isLoggedIn && courseDisplayInfo && (
|
|
|
|
| 467 |
</div>
|
| 468 |
)}
|
| 469 |
|
| 470 |
+
{/* ========== FILL REMAINING HEIGHT (no outer scroll) ========== */}
|
| 471 |
+
<div className="flex-1 min-h-0 overflow-hidden">
|
| 472 |
<SavedChatSection
|
| 473 |
isLoggedIn={isLoggedIn}
|
| 474 |
savedChats={savedChats}
|