From 875b4865818505714045ef9a5871aa0164a192db Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Tue, 26 Feb 2019 15:28:39 +0100 Subject: [PATCH] Adapt relation segment calculation to row height --- .../timeline/global-elements/wp-timeline-relations.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/wp-table/timeline/global-elements/wp-timeline-relations.directive.ts b/frontend/src/app/components/wp-table/timeline/global-elements/wp-timeline-relations.directive.ts index d8b858eeaa..b16df3d1d6 100644 --- a/frontend/src/app/components/wp-table/timeline/global-elements/wp-timeline-relations.directive.ts +++ b/frontend/src/app/components/wp-table/timeline/global-elements/wp-timeline-relations.directive.ts @@ -63,7 +63,7 @@ function newSegment(vp:TimelineViewParameters, ); // segment.style.backgroundColor = color; - segment.style.top = ((yPosition * 41) + top) + 'px'; + segment.style.top = ((yPosition * 40) + top) + 'px'; segment.style.left = left + 'px'; segment.style.width = width + 'px'; segment.style.height = height + 'px';