Skip to content

Commit b2c4a86

Browse files
authored
ImageItemList fix incorrect (below) rendering (#38452)
1 parent 040fb7b commit b2c4a86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mui-material/src/ImageListItem/ImageListItem.js

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ const ImageListItem = React.forwardRef(function ImageListItem(inProps, ref) {
101101
gridColumnEnd: variant !== 'masonry' ? `span ${cols}` : undefined,
102102
gridRowEnd: variant !== 'masonry' ? `span ${rows}` : undefined,
103103
marginBottom: variant === 'masonry' ? gap : undefined,
104+
breakInside: variant === 'masonry' ? 'avoid' : undefined,
104105
...style,
105106
}}
106107
ownerState={ownerState}

0 commit comments

Comments
 (0)