SarahXia0405 commited on
Commit
6e1c816
·
verified ·
1 Parent(s): f0949b9

Update web/src/components/LeftSidebar.tsx

Browse files
Files changed (1) hide show
  1. web/src/components/LeftSidebar.tsx +3 -3
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 the Saved Chat list section scrolls.
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
- {/* ========== SCROLL AREA (Saved Chats ONLY) ========== */}
471
- <div className="flex-1 min-h-0 overflow-y-auto">
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}