是否可以在material ui中将“flex-”添加到网格项目?Seams有点奇怪,我必须选择盒子才能访问Flexbox https://material-ui.com/system/flexbox/
发布于 2021-02-12 20:38:50
可以,您可以使用flex-grow属性添加样式。
<Grid item style={{ flexGrow: 1 }}>
<Typography variant="h1" color="textPrimary" >
Title
</Typography>
</Grid>或者,您可以为多个网格项目创建单独的类。
https://stackoverflow.com/questions/66171536
复制相似问题