Fix: Add shrink-0 to SESSION and PROJECT panels for proper flex layout
- SESSION and PROJECT panels now have shrink-0 to prevent them from growing unbounded and pushing FILES panel off-screen - FILES panel with flex-1 now properly fills remaining vertical space - File tree scrolls in-place while SESSION/PROJECT stay fixed
This commit is contained in:
parent
b0b94c2b7d
commit
6dba16a8c5
@ -1150,7 +1150,7 @@ export default function ChatSessionView() {
|
|||||||
{/* Sidebar */}
|
{/* Sidebar */}
|
||||||
<div className="w-80 border-l border-border-subtle bg-bg-secondary flex flex-col">
|
<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 shrink-0">
|
||||||
<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">
|
||||||
<h3 className="text-sm font-semibold text-text-secondary uppercase tracking-wider">
|
<h3 className="text-sm font-semibold text-text-secondary uppercase tracking-wider">
|
||||||
Session
|
Session
|
||||||
@ -1341,7 +1341,7 @@ export default function ChatSessionView() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* PROJECT Panel */}
|
{/* PROJECT Panel */}
|
||||||
<div className="border-b border-border-subtle">
|
<div className="border-b border-border-subtle shrink-0">
|
||||||
<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">
|
||||||
<h3 className="text-sm font-semibold text-text-secondary uppercase tracking-wider">
|
<h3 className="text-sm font-semibold text-text-secondary uppercase tracking-wider">
|
||||||
Project
|
Project
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user