Skip to content

Commit db17e49

Browse files
committed
fix comment
1 parent 6ced075 commit db17e49

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/utils/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ export function getColumnWidthForMeasurement<R, SR>(
4141
// ignore maxWidth if it less than minWidth
4242
maxWidth >= minWidth
4343
) {
44-
// fit-content = min(max-width, max(auto, ${maxWidth}px))
4544
return width === 'max-content'
46-
? `fit-content(${maxWidth}px)`
45+
? `fit-content(${maxWidth}px)` // fit-content = min(max-content, max(auto, ${maxWidth}px))
4746
: `minmax(${width}, ${maxWidth}px)`;
4847
}
4948

0 commit comments

Comments
 (0)