feat: button flex
This commit is contained in:
parent
d331f68280
commit
bcfb7aa624
@ -44,15 +44,15 @@ function TypeDifference(prop:{
|
||||
}}>Commit all</Button>
|
||||
</Box>
|
||||
{x.value.map(y=>(
|
||||
<Box /*className={classes.commitable}*/ key={y.path}>
|
||||
<Button variant="contained" onClick={()=>{
|
||||
set_disable(true);
|
||||
prop.onCommit(y);
|
||||
set_disable(false);
|
||||
}}
|
||||
disabled={button_disable}>Commit</Button>
|
||||
<Typography variant='h5'>{y.path}</Typography>
|
||||
</Box>
|
||||
<Box sx={{display:"flex"}} key={y.path}>
|
||||
<Button variant="contained" onClick={()=>{
|
||||
set_disable(true);
|
||||
prop.onCommit(y);
|
||||
set_disable(false);
|
||||
}}
|
||||
disabled={button_disable}>Commit</Button>
|
||||
<Typography variant='h5'>{y.path}</Typography>
|
||||
</Box>
|
||||
))}
|
||||
</Paper>);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user