@arim-aisdc/public-components 2.3.65 → 2.3.67
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.
|
@@ -158,10 +158,8 @@ table {
|
|
|
158
158
|
// width: var(--table-width);
|
|
159
159
|
|
|
160
160
|
.empty-wrapper {
|
|
161
|
-
width: var(--table-body-width);
|
|
162
|
-
height: var(--table-body-height);
|
|
163
|
-
|
|
164
|
-
// height: 100%;
|
|
161
|
+
width: var(--table-body-width) !important;
|
|
162
|
+
height: var(--table-body-height) !important;
|
|
165
163
|
min-height: 120px;
|
|
166
164
|
display: flex;
|
|
167
165
|
flex-direction: column;
|
|
@@ -169,6 +167,7 @@ table {
|
|
|
169
167
|
align-items: center;
|
|
170
168
|
position: sticky;
|
|
171
169
|
left: 0;
|
|
170
|
+
border: none !important;
|
|
172
171
|
|
|
173
172
|
.empty-content {
|
|
174
173
|
display: flex;
|
|
@@ -351,7 +351,7 @@ export var useColumnWidth = function useColumnWidth(_ref) {
|
|
|
351
351
|
var _tableContentRef$curr, _tableContentRef$curr2;
|
|
352
352
|
debouncedHandleResizeRef.current(newWidth);
|
|
353
353
|
(_tableContentRef$curr = tableContentRef.current) === null || _tableContentRef$curr === void 0 || (_tableContentRef$curr = _tableContentRef$curr.style) === null || _tableContentRef$curr === void 0 || _tableContentRef$curr.setProperty('--table-body-width', "".concat(newWidth - 12, "px"));
|
|
354
|
-
(_tableContentRef$curr2 = tableContentRef.current) === null || _tableContentRef$curr2 === void 0 || (_tableContentRef$curr2 = _tableContentRef$curr2.style) === null || _tableContentRef$curr2 === void 0 || _tableContentRef$curr2.setProperty('--table-body-height', "".concat(height -
|
|
354
|
+
(_tableContentRef$curr2 = tableContentRef.current) === null || _tableContentRef$curr2 === void 0 || (_tableContentRef$curr2 = _tableContentRef$curr2.style) === null || _tableContentRef$curr2 === void 0 || _tableContentRef$curr2.setProperty('--table-body-height', "".concat(height - 54, "px"));
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
357
|
observer.observe(tableContentRef.current);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
position: relative;
|
|
89
89
|
display: flex;
|
|
90
90
|
border-radius: @global-table-max-center-border-radius;
|
|
91
|
-
--cell-height:
|
|
91
|
+
--cell-height: 42px;
|
|
92
92
|
--cell-padding: 0 8px;
|
|
93
93
|
|
|
94
94
|
.cell-wapper {
|
|
@@ -220,6 +220,18 @@
|
|
|
220
220
|
background-clip: padding-box !important;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
&::after {
|
|
224
|
+
content: '';
|
|
225
|
+
display: block;
|
|
226
|
+
position: absolute;
|
|
227
|
+
right: 0;
|
|
228
|
+
top: 0;
|
|
229
|
+
width: 10px;
|
|
230
|
+
height: var(--cell-height);
|
|
231
|
+
background-color: var(--globalColor_14);
|
|
232
|
+
z-index: 300;
|
|
233
|
+
}
|
|
234
|
+
|
|
223
235
|
}
|
|
224
236
|
.table-body.hover-active {
|
|
225
237
|
&::-webkit-scrollbar-thumb {
|