gantt-task-react-powern 0.6.34 → 0.6.35
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 +12 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -43,6 +43,18 @@
|
|
|
43
43
|
word-break: break-word;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
/* Clamp header labels to a maximum of two lines so a long label (e.g.
|
|
47
|
+
"WBS Code / Activity ID") cannot grow the header row past headerHeight,
|
|
48
|
+
which otherwise misaligns the table body with the Gantt scrollbar. */
|
|
49
|
+
._2X3fk {
|
|
50
|
+
display: -webkit-box;
|
|
51
|
+
-webkit-line-clamp: 2;
|
|
52
|
+
-webkit-box-orient: vertical;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
line-height: 1.15;
|
|
56
|
+
}
|
|
57
|
+
|
|
46
58
|
._3ZbQT {
|
|
47
59
|
display: table;
|
|
48
60
|
border-bottom: #e6e4e4 1px solid;
|
package/dist/index.js
CHANGED
|
@@ -270,7 +270,7 @@ var getMonday = function getMonday(date) {
|
|
|
270
270
|
return new Date(date.setDate(diff));
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
-
var styles = {"ganttTable":"_3_ygE","ganttTable_Header":"_1nBOt","ganttTable_HeaderSeparator":"_2eZzQ","ganttTable_HeaderResizeHandle":"_ddPJg","ganttTable_HeaderItem":"_WuQ0f"};
|
|
273
|
+
var styles = {"ganttTable":"_3_ygE","ganttTable_Header":"_1nBOt","ganttTable_HeaderSeparator":"_2eZzQ","ganttTable_HeaderResizeHandle":"_ddPJg","ganttTable_HeaderItem":"_WuQ0f","ganttTable_HeaderItemText":"_2X3fk"};
|
|
274
274
|
|
|
275
275
|
var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
|
|
276
276
|
var headerHeight = _ref.headerHeight,
|
|
@@ -328,7 +328,9 @@ var TaskListHeaderDefault = function TaskListHeaderDefault(_ref) {
|
|
|
328
328
|
position: "relative"
|
|
329
329
|
},
|
|
330
330
|
title: title
|
|
331
|
-
},
|
|
331
|
+
}, React__default.createElement("div", {
|
|
332
|
+
className: styles.ganttTable_HeaderItemText
|
|
333
|
+
}, content), resizable && onColumnResize && React__default.createElement("div", {
|
|
332
334
|
className: styles.ganttTable_HeaderResizeHandle,
|
|
333
335
|
style: {
|
|
334
336
|
height: headerHeight - 2
|