material-react-table 0.31.0 → 0.31.1

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.31.0",
2
+ "version": "0.31.1",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -147,9 +147,9 @@ export const MRT_TableHeadCell: FC<Props> = ({ header, table }) => {
147
147
  pb:
148
148
  columnDefType === 'display'
149
149
  ? 0
150
- : showColumnFilters
151
- ? '0.5rem'
152
- : undefined,
150
+ : showColumnFilters || density === 'compact'
151
+ ? '0.4rem'
152
+ : '0.6rem',
153
153
  position:
154
154
  column.getIsPinned() && columnDefType !== 'group'
155
155
  ? 'sticky'