mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-25 20:15:37 +02:00
fix: enable scroll for RightPanel FileTree overflow
Add flex flex-col to RightPanel inner div so RightPanelContent's flex-1 overflow-auto can work properly, allowing FileTree to scroll when content exceeds panel height. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,7 @@ export function RightPanel({ children, className }: RightPanelProps) {
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
'fixed inset-y-0 right-0 z-10 h-svh border-l bg-background',
|
||||
'fixed inset-y-0 right-0 z-10 h-svh border-l bg-background flex flex-col',
|
||||
// Disable transition during resize for smoother dragging
|
||||
!isResizing && 'transition-[transform,opacity,width] duration-200 ease-linear',
|
||||
isOpen ? 'translate-x-0 opacity-100' : 'translate-x-full opacity-0',
|
||||
|
||||
Reference in New Issue
Block a user