Skip to content

Commit 70862b3

Browse files
committed
Fix Findings timeline scroll overflow
1 parent 17095f1 commit 70862b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/timeline/TimelineDrawer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export function TimelineDrawer({ open, onOpenChange, projectId }: TimelineDrawer
262262
side="right"
263263
className="w-[420px] max-w-[92vw] border-none p-0 bg-background/95 backdrop-blur"
264264
>
265-
<div className="flex flex-col h-full">
265+
<div className="flex flex-col h-full min-h-0">
266266
<SheetHeader className="space-y-2 border-b border-border/60 bg-card/60 px-6 py-5">
267267
<div className="flex items-center gap-3">
268268
<div className="flex h-9 w-9 items-center justify-center rounded-full bg-primary/15 text-primary">
@@ -343,7 +343,7 @@ export function TimelineDrawer({ open, onOpenChange, projectId }: TimelineDrawer
343343
</div>
344344

345345
{/* Timeline Content */}
346-
<ScrollArea className="flex-1 px-5 py-5">
346+
<ScrollArea className="flex-1 min-h-0 px-5 py-5">
347347
{loading ? (
348348
<div className="flex h-32 items-center justify-center rounded-xl border border-border/60 bg-card/40 text-sm text-muted-foreground shadow-inner">
349349
Loading timeline…

0 commit comments

Comments
 (0)