Skip to content

Commit 3e7b7ee

Browse files
committed
fix(logs): restore scroll in log-details panel
Overview tab's scroll container (SModalTabsContent) was wrapped around a non-overflow inner div that held the scrollAreaRef, so the scroll-reset on log change targeted a non-scrolling element. Collapse the wrapper into the Tabs.Content element itself and move the ref there. Add min-h-0 to the Trace detail pane wrapper so its scrolling child can shrink inside the horizontal-flex row.
1 parent 4355efe commit 3e7b7ee

2 files changed

Lines changed: 232 additions & 233 deletions

File tree

apps/sim/app/workspace/[workspaceId]/logs/components/log-details/components/trace-view/trace-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ export const TraceView = memo(function TraceView({ traceSpans }: TraceViewProps)
10491049
)
10501050
})}
10511051
</div>
1052-
<div className='flex min-w-0 flex-1 flex-col'>
1052+
<div className='flex min-h-0 min-w-0 flex-1 flex-col'>
10531053
<TraceDetailPane span={selectedSpan} />
10541054
</div>
10551055
</div>

0 commit comments

Comments
 (0)