Skip to content
Open
Changes from 1 commit
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
Next Next commit
fix: prevent Insights chat panel from scrolling off-screen (fixes #1977)
Without min-h-0 on the flex container, the default flex min-height is
'auto', allowing the child to grow beyond its parent's bounds. This
causes the ScrollArea to also grow unconstrained, making the Insights
panel scroll off the top of the screen after messages load.
  • Loading branch information
octo-patch committed Apr 5, 2026
commit f6ec5cf42ca142a2fae16f67a0ee86f775a3773d
2 changes: 1 addition & 1 deletion apps/desktop/src/renderer/components/Insights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export function Insights({ projectId }: InsightsProps) {
)}

{/* Main Chat Area */}
<div className="flex flex-1 flex-col">
<div className="flex flex-1 flex-col min-h-0">
{/* Header */}
<div className="flex items-center justify-between border-b border-border px-6 py-4">
<div className="flex items-center gap-3">
Expand Down