fix(workspace): stop the pipeline map from overflowing the detail panel
The lane-detail section is a flex-1 row item next to the lane list, but lacked min-w-0. A flex item's intrinsic min-width defaults to its content size, so PipelineMap's 16-node row (which relies on flex-1 min-w-0 truncate per node to shrink) pushed the whole panel wider than its allotted space instead of compressing, spilling nodes off-screen.
This commit is contained in:
@@ -537,7 +537,10 @@ export function Workspace() {
|
||||
{/* The selected lane's pipeline — the thing you actually come to this
|
||||
page to read, beside the list rather than stacked under it. */}
|
||||
{currentLane && (
|
||||
<section data-testid="lane-detail" className="flex min-h-0 flex-1 flex-col card p-4">
|
||||
<section
|
||||
data-testid="lane-detail"
|
||||
className="flex min-h-0 min-w-0 flex-1 flex-col card p-4"
|
||||
>
|
||||
<div className="mb-3 flex flex-wrap items-center justify-between gap-2">
|
||||
<span className="truncate text-sm font-semibold text-fg-primary">
|
||||
{tLanes("laneHeader", {
|
||||
|
||||
Reference in New Issue
Block a user