javascript - 网格项目框右侧的材质 UI 格式图标
问题描述
我似乎无法将此图标移动到我设置的网格项目的右侧,而 justify='flex-end' 似乎没有任何帮助?
<Dialog open={props.open} onClose={props.close} aria-labelledby="form-dialog-title">
<Grid container xs={12} alignItems='center' >
<Grid item xs={6} >
<DialogTitle>Certification</DialogTitle>
</Grid>
<Grid item xs={6} justify='flex-end'>
<CloseIcon onClick={props.close} />
</Grid>
</Grid>
解决方案
推荐阅读
- excel - 如何替换索引函数的数组部分以使其选择与标题匹配的任何列?
- sql - 如何在行之间只有一列不同的情况下将行组合在一起
- python - 如何使用python合并文件夹中的多个.csv
- sql - 如何在 SQL 中获取以下列的数值?
- github - 我无法让 gitHub 操作将我的包构建发布到 nuget.pkg.github
- c# - 如何使用 Blazor 创建用于刷新当前页面的 MainLayout?
- jquery - 弄清楚最后一步 Jquery Smart Wizard 5?
- facebook - 在 Spark AR 中实施材料时遇到问题
- sql - 如何从 N1QL 查询中的嵌套数组中提取最大值和最小值?
- java - Java 微流列表对象未正确存储