Skip to content

Commit 4bab0ed

Browse files
committed
making image coordinator example wrap to new row instead of squishing the images at small screen sizes
1 parent 348d56c commit 4bab0ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/s2-docs/pages/s2/Image.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import {style} from '@react-spectrum/s2/style' with {type: 'macro'};
5454
<div
5555
className={style({
5656
display: 'grid',
57-
gridTemplateColumns: '1fr 1fr 1fr 1fr',
57+
gridTemplateColumns: 'repeat(auto-fit, minmax(140px, 1fr))',
5858
gridTemplateRows: [180],
5959
gap: 8
6060
})}>

0 commit comments

Comments
 (0)