We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b41f0 commit be04ee2Copy full SHA for be04ee2
src/responsive-grid/calc-responsive-grid.ts
@@ -63,7 +63,7 @@ export const calcResponsiveGrid = (
63
64
// If widthRatio exceeds available space, adjust it
65
if (widthRatio > availableWidth) {
66
- widthRatio = availableWidth;
+ widthRatio = Math.max(1, availableWidth);
67
}
68
69
0 commit comments