首页 > 解决方案 > 网格项目框右侧的材质 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>

标签: javascriptcssmaterial-ui

解决方案


推荐阅读