Fix: Remove overflow-y-auto from sidebar to prevent entire sidebar from scrolling

- The sidebar container had overflow-y-auto which caused the entire sidebar
  to scroll when FILES panel content grew
- FILES panel already has proper flex-1 and internal overflow-auto handling
- Now only the file tree scrolls in place while SESSION and PROJECT panels
  remain fixed as expected
- Fixes UX issue where entire sidebar would scroll vertically
This commit is contained in:
Rob Colbert 2026-05-12 17:19:15 -04:00
parent a2a74c6da3
commit 869dd919c8

View File

@ -1148,7 +1148,7 @@ export default function ChatSessionView() {
</div> </div>
{/* Sidebar */} {/* Sidebar */}
<div className="w-80 border-l border-border-subtle bg-bg-secondary flex flex-col overflow-y-auto"> <div className="w-80 border-l border-border-subtle bg-bg-secondary flex flex-col">
{/* SESSION Panel */} {/* SESSION Panel */}
<div className="border-b border-border-subtle"> <div className="border-b border-border-subtle">
<div className="flex items-center justify-between px-4 py-2 bg-bg-tertiary"> <div className="flex items-center justify-between px-4 py-2 bg-bg-tertiary">