Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 72dd1a7

Browse files
committed
style bug found
1 parent 6b15cd8 commit 72dd1a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Table.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ export function Table(initialState: TableDataType) {
310310
: {
311311
...tableCellBaseProps,
312312
style: {
313+
...column.getHeaderProps().style,
313314
width: `${
314315
columnsWidthState.widthRecord[column.id]
315316
}px`,
@@ -359,6 +360,7 @@ export function Table(initialState: TableDataType) {
359360
: {
360361
...tableCellBaseProps,
361362
style: {
363+
...tableCellBaseProps.style,
362364
width: columnsWidthState.widthRecord[cell.column.id],
363365
},
364366
};

0 commit comments

Comments
 (0)