Implementing an 'account' dialog (WIP)

This commit is contained in:
vdv committed 2022-12-25 16:30:47 +01:00
1 parent 0e2ffb0cf2
commit a36c8a28a4
12 files changed
+235 -22

No files matched your search

+6 -20
View File
@@ -27,28 +27,14 @@ const Dialog: Component<{
backgroundColor: 'rgba(14, 116, 144, 0.7)',
color: 'white',
clear: 'both',
paddingRight: '20px',
margin: '0',
paddingLeft: '0',
}}
>
<Grid container spacing={2} alignItems='center'>
<Grid item xs={11}>
{props.title}
</Grid>
<Grid
item
xs={1}
sx={{
alignSelf: 'right',
marginRight: '0px',
paddingRight: '0px',
paddingTop: '16px',
}}
>
<IconButton onClick={props.closeHandler}>
<CloseIcon />
</IconButton>
</Grid>
</Grid>
<IconButton onClick={props.closeHandler}>
<CloseIcon />
</IconButton>
{props.title}
</DialogTitle>
<DialogContent sx={{ width: 'calc(100% - 60px)' }}>
{props.children}