Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/routes/v2/shared/windows/components/DockedWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,16 +166,19 @@ export const DockedWindow = observer(function DockedWindow() {
<CollapsibleContent className="w-full">
<div
className={cn(
"w-full bg-white text-gray-900",
"transition-all duration-300",
"w-full bg-white text-gray-900 flex flex-col overflow-hidden",

(isDragging || isResizing) && "select-none",
isDragging && "opacity-50",
)}
style={{ minHeight: MIN_DOCKED_HEIGHT }}
style={{
minHeight: MIN_DOCKED_HEIGHT,
height: model.effectiveDockedHeight,
}}
onMouseDown={handleContainerMouseDown}
onClick={handleContainerClick}
>
<div className="bg-white">{content}</div>
<div className="flex-1 min-h-0 overflow-auto bg-white">{content}</div>
<div
className="h-1 cursor-ns-resize hover:bg-gray-200 transition-colors shrink-0"
onMouseDown={handleResizeMouseDown}
Expand Down
Loading