我试图摆脱主题中存在的最大宽度。
这是我在 Chrome 中看到的(如果我取消选中它,它会做我需要的):
@media (min-width: 1280px)
.MuiContainer-maxWidthLg {
max-width: 1280px;
}
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?我试过这样的事情:
const useStyles = makeStyles(theme => ({
root: {
'& .MuiContainer-maxWidthLg' : {
maxWidth: //No matter what I put here, it does not work
},
Run Code Online (Sandbox Code Playgroud)
但它似乎没有任何效果......我该如何覆盖它?
谢谢,
亚历克斯