gantt-task-react-powern 0.4.7 → 0.4.9

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.css CHANGED
@@ -20,6 +20,9 @@
20
20
  display: table-cell;
21
21
  vertical-align: -webkit-baseline-middle;
22
22
  vertical-align: middle;
23
+ overflow: hidden;
24
+ white-space: nowrap;
25
+ text-overflow: ellipsis;
23
26
  }
24
27
 
25
28
  ._3ZbQT {
@@ -31,6 +34,8 @@
31
34
  ._34SS0 {
32
35
  display: table-row;
33
36
  text-overflow: ellipsis;
37
+ white-space: nowrap;
38
+ overflow: hidden;
34
39
  }
35
40
 
36
41
  ._34SS0:nth-of-type(even) {
package/dist/index.js CHANGED
@@ -286,7 +286,8 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
286
286
  }, React__default.createElement("div", {
287
287
  className: styles.ganttTable_HeaderItem,
288
288
  style: {
289
- minWidth: rowWidth
289
+ minWidth: parseInt(rowWidth) / 2,
290
+ maxWidth: parseInt(rowWidth) / 2
290
291
  }
291
292
  }, "\xA0WBS"), React__default.createElement("div", {
292
293
  className: styles.ganttTable_HeaderSeparator,
@@ -297,7 +298,8 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
297
298
  }), React__default.createElement("div", {
298
299
  className: styles.ganttTable_HeaderItem,
299
300
  style: {
300
- minWidth: rowWidth
301
+ minWidth: parseInt(rowWidth) * 1.5,
302
+ maxWidth: parseInt(rowWidth) * 1.5
301
303
  }
302
304
  }, "\xA0Task"), React__default.createElement("div", {
303
305
  className: styles.ganttTable_HeaderSeparator,
@@ -387,8 +389,8 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
387
389
  }, React__default.createElement("div", {
388
390
  className: styles$1.taskListCell,
389
391
  style: {
390
- minWidth: rowWidth,
391
- maxWidth: rowWidth
392
+ minWidth: parseInt(rowWidth) / 2,
393
+ maxWidth: parseInt(rowWidth) / 2
392
394
  },
393
395
  title: t.id
394
396
  }, React__default.createElement("div", {
@@ -401,10 +403,10 @@ var TaskListTableDefault = function TaskListTableDefault(_ref) {
401
403
  }, expanderSymbol), React__default.createElement("div", null, t.id))), React__default.createElement("div", {
402
404
  className: styles$1.taskListCell,
403
405
  style: {
404
- minWidth: rowWidth,
405
- maxWidth: rowWidth
406
+ minWidth: parseInt(rowWidth) * 1.5,
407
+ maxWidth: parseInt(rowWidth) * 1.5
406
408
  }
407
- }, taskLabelRenderer(t)), React__default.createElement("div", {
409
+ }, React__default.createElement("div", null, taskLabelRenderer(t))), React__default.createElement("div", {
408
410
  className: styles$1.taskListCell,
409
411
  style: {
410
412
  minWidth: rowWidth,