styles: UI changes in the gantt blocks (#1099)

This commit is contained in:
guru_sainath 2023-05-20 23:17:44 +05:30 committed by GitHub
parent cba62f07c0
commit a01e241523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 25 additions and 27 deletions

View file

@ -184,7 +184,7 @@ export const getMonthChartItemPositionWidthInMonth = (chartData: ChartDataType,
diffMonths -= startDate.getMonth();
diffMonths += itemStartDate.getMonth();
scrollPosition = scrollPosition + diffMonths - 1;
scrollPosition = scrollPosition + diffMonths;
// position code ends
// width code starts