We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ced075 commit db17e49Copy full SHA for db17e49
1 file changed
src/utils/index.ts
@@ -41,9 +41,8 @@ export function getColumnWidthForMeasurement<R, SR>(
41
// ignore maxWidth if it less than minWidth
42
maxWidth >= minWidth
43
) {
44
- // fit-content = min(max-width, max(auto, ${maxWidth}px))
45
return width === 'max-content'
46
- ? `fit-content(${maxWidth}px)`
+ ? `fit-content(${maxWidth}px)` // fit-content = min(max-content, max(auto, ${maxWidth}px))
47
: `minmax(${width}, ${maxWidth}px)`;
48
}
49
0 commit comments