material-react-table 0.26.1 → 0.26.2
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/material-react-table.cjs.development.js +2 -0
- package/dist/material-react-table.cjs.development.js.map +1 -1
- package/dist/material-react-table.cjs.production.min.js +1 -1
- package/dist/material-react-table.cjs.production.min.js.map +1 -1
- package/dist/material-react-table.esm.js +2 -0
- package/dist/material-react-table.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/head/MRT_TableHeadCell.tsx +2 -0
@@ -2652,6 +2652,8 @@ var MRT_TableHeadCell = function MRT_TableHeadCell(_ref) {
|
|
2652
2652
|
cursor: column.getCanSort() && columnDefType !== 'group' ? 'pointer' : undefined,
|
2653
2653
|
display: 'flex',
|
2654
2654
|
flexWrap: 'nowrap',
|
2655
|
+
m: (tableCellProps == null ? void 0 : tableCellProps.align) === 'center' ? 'auto' : undefined,
|
2656
|
+
pl: (tableCellProps == null ? void 0 : tableCellProps.align) === 'center' ? '1rem' : undefined,
|
2655
2657
|
whiteSpace: ((_columnDef$header$len = (_columnDef$header = columnDef.header) == null ? void 0 : _columnDef$header.length) != null ? _columnDef$header$len : 0) < 24 ? 'nowrap' : 'normal'
|
2656
2658
|
}
|
2657
2659
|
}, headerElement, column.getCanSort() && React.createElement(MRT_TableHeadCellSortLabel, {
|