lecom-ui 5.4.14 → 5.4.16
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.
|
@@ -103,7 +103,7 @@ function DataTable({
|
|
|
103
103
|
currentElem.style.left = `${beforeElemWidth + beforeElemLeft}px`;
|
|
104
104
|
currentElem.style.boxShadow = boxShadow;
|
|
105
105
|
if (currentElemIsTh || hasTruncate) {
|
|
106
|
-
currentElem.style.backgroundColor =
|
|
106
|
+
currentElem.style.backgroundColor = "#ffffff";
|
|
107
107
|
}
|
|
108
108
|
currentElem.style.zIndex = "1";
|
|
109
109
|
if (lastColumnFixed) {
|
|
@@ -137,9 +137,8 @@ function DataTable({
|
|
|
137
137
|
cells.forEach((cell) => {
|
|
138
138
|
const cellElem = cell;
|
|
139
139
|
const hasTruncate = cellElem.style.overflow === "hidden" && cellElem.style.textOverflow === "ellipsis";
|
|
140
|
-
const isTh = cellElem.tagName === "TH";
|
|
141
140
|
if (hasTruncate || cellElem.hasAttribute("data-fixed")) {
|
|
142
|
-
cellElem.style.backgroundColor =
|
|
141
|
+
cellElem.style.backgroundColor = "#ffffff";
|
|
143
142
|
}
|
|
144
143
|
});
|
|
145
144
|
});
|
|
@@ -232,7 +231,7 @@ function DataTable({
|
|
|
232
231
|
style: { maxHeight: styleDataTableContainer.height }
|
|
233
232
|
},
|
|
234
233
|
renderTable()
|
|
235
|
-
), /* @__PURE__ */ React.createElement(ScrollBar, { orientation: "horizontal" }))
|
|
234
|
+
), /* @__PURE__ */ React.createElement(ScrollBar, { orientation: "horizontal" }), /* @__PURE__ */ React.createElement(ScrollBar, { orientation: "vertical" }))
|
|
236
235
|
), hasPagination());
|
|
237
236
|
}
|
|
238
237
|
const MemoizedDataTable = React.memo(DataTable);
|