Skip to content

Commit 52b9237

Browse files
committed
Add back max-width
1 parent 106842e commit 52b9237

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/renderMeasuringCells.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ const measuringCellClassname = css`
1111
`;
1212

1313
export function renderMeasuringCells<R, SR>(viewportColumns: readonly CalculatedColumn<R, SR>[]) {
14-
return viewportColumns.map(({ key, idx, minWidth }) => (
14+
return viewportColumns.map(({ key, idx, minWidth, maxWidth }) => (
1515
<div
1616
key={key}
1717
className={measuringCellClassname}
18-
style={{ gridColumnStart: idx + 1, minWidth }}
18+
style={{ gridColumnStart: idx + 1, minWidth, maxWidth }}
1919
data-measuring-cell-key={key}
2020
/>
2121
));

0 commit comments

Comments
 (0)