fix(ui): correct node-line positioning for horizontal scroll

Add proper absolute positioning (right: -64px, top: 50%) to ensure
connection lines correctly span the gap between timeline nodes.
This commit is contained in:
fawney19
2026-01-13 19:17:53 +08:00
parent d488f809d5
commit 6fdb944b1e

View File

@@ -956,10 +956,12 @@ const getStatusColorClass = (status: string) => {
.node-line { .node-line {
position: absolute; position: absolute;
right: -64px;
top: 50%;
transform: translateY(-50%);
width: 64px; width: 64px;
height: 2px; height: 2px;
background: hsl(var(--border)); background: hsl(var(--border));
margin: 0 -1px;
z-index: 1; z-index: 1;
} }