mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-14 05:25:19 +08:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user