Skip to content

Commit

Permalink
ImageItemList fix incorrect (below) rendering (#38452)
Browse files Browse the repository at this point in the history
  • Loading branch information
omriklein authored Sep 1, 2023
1 parent 040fb7b commit b2c4a86
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 b2c4a86

Please sign in to comment.