gantt-task-react-powern 0.4.73 → 0.4.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -516,8 +516,8 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
516
516
  }, t.optionalId), React__default.createElement("div", {
517
517
  className: styles$1.taskListCell,
518
518
  style: {
519
- minWidth: parseInt(rowWidth) * 2,
520
- maxWidth: parseInt(rowWidth) * 2
519
+ minWidth: parseInt(rowWidth) * 1.8,
520
+ maxWidth: parseInt(rowWidth) * 1.8
521
521
  },
522
522
  title: t.name
523
523
  }, React__default.createElement("div", {
@@ -1564,7 +1564,11 @@ var taskXCoordinate = function taskXCoordinate(xDate, dates, columnWidth) {
1564
1564
  }) - 1;
1565
1565
 
1566
1566
  if (index < 0) {
1567
- return 0;
1567
+ if (dates[dates.length - 1].getTime() < xDate.getTime()) {
1568
+ return dates.length * columnWidth;
1569
+ } else {
1570
+ return 0;
1571
+ }
1568
1572
  }
1569
1573
 
1570
1574
  var remainderMillis = xDate.getTime() - dates[index].getTime();