From 247937d93a1340f4c0e134a109d159cc30c1261a Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:33:24 +0530 Subject: [PATCH] fix: scroll sync (#3645) --- web/components/gantt-chart/blocks/blocks-list.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/gantt-chart/blocks/blocks-list.tsx b/web/components/gantt-chart/blocks/blocks-list.tsx index 1bc75ea8f..15a3e5295 100644 --- a/web/components/gantt-chart/blocks/blocks-list.tsx +++ b/web/components/gantt-chart/blocks/blocks-list.tsx @@ -86,7 +86,7 @@ export const GanttChartBlocksList: FC = observer((props) className="h-full" style={{ width: `${itemsContainerWidth}px`, - marginTop: `${HEADER_HEIGHT}px`, + transform: `translateY(${HEADER_HEIGHT}px)`, }} > {blocks?.map((block) => {