that should round my Material UI Modal:
const useStyles = makeStyles((theme) => ({
loginModal: {
position: 'absolute',
margin: 'auto',
top: '0',
bottom: '0',
left: '0',
right: '0',
width: '40%',
height: '70%',
overflowY: 'none',
outline: 'none',
borderRadius: 25
}));
// ...omited
return (
<Modal
className={classes.modalClassContainer}
open={open}
onClose={close}
closeAfterTransition
BackdropComponent={Backdrop}
BackdropProps={{
timeout: 600,
}}>
<Fade in={open}>
<div className={classes.loginModal}>
{childBody}
</div>
</Fade>
</Modal>
)
On this case everything seems working normal but the border, it is displayed still nor rounded. How could I add the round borders?