Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const getContentWidth = ({
width -= LAYOUT_CONSTANTS.CONNECTOR_WIDTH;
}

return width - contentPadding;
return Math.max(width - contentPadding, 40);
};

const getGridTemplateColumns = ({
Expand Down Expand Up @@ -395,7 +395,6 @@ export const SpanCard: FC<SpanCardProps> = ({
)}
style={{
width: `min(${contentWidth}px, 100%)`,
minWidth: 140,
}}
onClick={eventHandlers.handleToggleClick}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function TaskRunTrace({ spans }: { spans: [OtelSpan, ...OtelSpan[]] }) {
</h4>
</div>
</div>
<div className="max-h-[500px] overflow-y-auto">
<div className="overflow-y-auto">
<TreeView
spanTree={traceSpanTree}
expandedSpansIds={expandedSpansIds}
Expand Down
Loading