We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d33b0 commit 4b24c13Copy full SHA for 4b24c13
components/vc-table/src/ColGroup.jsx
@@ -34,7 +34,7 @@ export default {
34
return (
35
<col
36
key={c.key || c.dataIndex}
37
- style={{ width, minWidth: width }}
+ style={width ? { width, minWidth: width } : {}}
38
/>
39
)
40
})
components/vc-table/src/TableHeaderRow.jsx
@@ -21,7 +21,9 @@ const TableHeaderRow = {
21
const rowProps = customHeaderRow(row.map(cell => cell.column), index)
22
const customStyle = rowProps ? rowProps.style : {}
23
const style = { height, ...customStyle }
24
-
+ if (style.height === null) {
25
+ delete style.height
26
+ }
27
28
<HeaderRow {...rowProps} style={style}>
29
{row.map((cell, i) => {
0 commit comments