Skip to content

Commit

Permalink
ImageItemList fix incorrect (below) rendering (mui#38452)
Browse files Browse the repository at this point in the history
  • Loading branch information
omriklein authored and anon-phantom committed Sep 11, 2023
1 parent 95596bd commit 2f5ee4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mui-material/src/ImageListItem/ImageListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const ImageListItem = React.forwardRef(function ImageListItem(inProps, ref) {
gridColumnEnd: variant !== 'masonry' ? `span ${cols}` : undefined,
gridRowEnd: variant !== 'masonry' ? `span ${rows}` : undefined,
marginBottom: variant === 'masonry' ? gap : undefined,
breakInside: variant === 'masonry' ? 'avoid' : undefined,
...style,
}}
ownerState={ownerState}
Expand Down

0 comments on commit 2f5ee4c

Please sign in to comment.