File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/material-ui/src/ImageList Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const ImageListRoot = experimentalStyled(
3434 slot : 'Root' ,
3535 overridesResolver,
3636 } ,
37- ) ( ( { theme , styleProps } ) => {
37+ ) ( ( { styleProps } ) => {
3838 /* Styles applied to the root element. */
3939 return {
4040 display : 'grid' ,
@@ -44,11 +44,7 @@ const ImageListRoot = experimentalStyled(
4444 WebkitOverflowScrolling : 'touch' , // Add iOS momentum scrolling.
4545 /* Styles applied to the root element if `variant="masonry"`. */
4646 ...( styleProps . variant === 'masonry' && {
47- position : 'absolute' ,
48- zIndex : theme . zIndex . appBar ,
49- top : 0 ,
50- left : 'auto' ,
51- right : 0 ,
47+ display : 'block' ,
5248 } ) ,
5349 /* Styles applied to the root element if `variant="quilted"`. */
5450 ...( styleProps . variant === 'quilted' && { } ) ,
You can’t perform that action at this time.
0 commit comments