fix: image size
This commit is contained in:
parent
08e570a6c0
commit
2bf151c11d
1 changed files with 2 additions and 4 deletions
|
|
@ -10,14 +10,12 @@ const useStyles = makeStyles({
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
width: 550,
|
width: 550
|
||||||
height: 550
|
|
||||||
},
|
},
|
||||||
imgInner: {
|
imgInner: {
|
||||||
objectFit: 'cover',
|
objectFit: 'cover',
|
||||||
objectPosition: 'center',
|
objectPosition: 'center',
|
||||||
width: 550,
|
width: 550,
|
||||||
height: 550,
|
|
||||||
marginBottom: 40
|
marginBottom: 40
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -34,7 +32,7 @@ export const Carousel = memo(({ photosData, slidePhoto }) => {
|
||||||
style: {
|
style: {
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
borderRadius: 0,
|
borderRadius: 0,
|
||||||
width: 50
|
fontSize: 150
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
className={classes.slideButtons}
|
className={classes.slideButtons}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue