我有一个由 withStyles 制作的 StyledDialog
const StyledDialog = withStyles({
paper:{
// top:100,
padding: 0,
boxShadow:'none',
height: 188,
// width:'35%',
borderRadius:14
}
})(Dialog);
默认情况下,它在窗口全屏中居中。 但我想让它以其容器为中心。 有没有什么优雅的方法可以做到这一点?