@lensui/lens-table 0.1.30 → 0.1.31
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.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4325,7 +4325,10 @@ function TableInner({
|
|
|
4325
4325
|
top: headerTop,
|
|
4326
4326
|
width: width2,
|
|
4327
4327
|
height: rowHeightForLevel,
|
|
4328
|
-
|
|
4328
|
+
// Custom headers lay out their own title row and metadata rows. The
|
|
4329
|
+
// action layer may reserve space in the title row, but must not
|
|
4330
|
+
// shrink the entire custom header (including type/comment rows).
|
|
4331
|
+
paddingRight: cell.leaf && !column.renderHeader ? actionWidth + 10 : 10,
|
|
4329
4332
|
justifyContent: column.align === "right" ? "flex-end" : column.align === "center" ? "center" : "flex-start",
|
|
4330
4333
|
textAlign: column.align === "right" ? "right" : column.align === "center" ? "center" : "left"
|
|
4331
4334
|
},
|
package/dist/index.js
CHANGED
|
@@ -4295,7 +4295,10 @@ function TableInner({
|
|
|
4295
4295
|
top: headerTop,
|
|
4296
4296
|
width: width2,
|
|
4297
4297
|
height: rowHeightForLevel,
|
|
4298
|
-
|
|
4298
|
+
// Custom headers lay out their own title row and metadata rows. The
|
|
4299
|
+
// action layer may reserve space in the title row, but must not
|
|
4300
|
+
// shrink the entire custom header (including type/comment rows).
|
|
4301
|
+
paddingRight: cell.leaf && !column.renderHeader ? actionWidth + 10 : 10,
|
|
4299
4302
|
justifyContent: column.align === "right" ? "flex-end" : column.align === "center" ? "center" : "flex-start",
|
|
4300
4303
|
textAlign: column.align === "right" ? "right" : column.align === "center" ? "center" : "left"
|
|
4301
4304
|
},
|