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 +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -515,8 +515,8 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
|
|
|
515
515
|
}, t.optionalId), React.createElement("div", {
|
|
516
516
|
className: styles$1.taskListCell,
|
|
517
517
|
style: {
|
|
518
|
-
minWidth: parseInt(rowWidth) *
|
|
519
|
-
maxWidth: parseInt(rowWidth) *
|
|
518
|
+
minWidth: parseInt(rowWidth) * 1.8,
|
|
519
|
+
maxWidth: parseInt(rowWidth) * 1.8
|
|
520
520
|
},
|
|
521
521
|
title: t.name
|
|
522
522
|
}, React.createElement("div", {
|
|
@@ -1563,7 +1563,11 @@ var taskXCoordinate = function taskXCoordinate(xDate, dates, columnWidth) {
|
|
|
1563
1563
|
}) - 1;
|
|
1564
1564
|
|
|
1565
1565
|
if (index < 0) {
|
|
1566
|
-
|
|
1566
|
+
if (dates[dates.length - 1].getTime() < xDate.getTime()) {
|
|
1567
|
+
return dates.length * columnWidth;
|
|
1568
|
+
} else {
|
|
1569
|
+
return 0;
|
|
1570
|
+
}
|
|
1567
1571
|
}
|
|
1568
1572
|
|
|
1569
1573
|
var remainderMillis = xDate.getTime() - dates[index].getTime();
|