mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-05 16:06:58 +00:00
Uniform layout of Minting to Settings
This commit is contained in:
parent
e4223ce418
commit
a96f616aca
@ -175,8 +175,8 @@ export const Settings = ({ open, setOpen, rawWallet }) => {
|
|||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
<IconButton
|
<IconButton
|
||||||
edge="start"
|
|
||||||
color="inherit"
|
color="inherit"
|
||||||
|
edge="start"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
aria-label={t('core:action.close', {
|
aria-label={t('core:action.close', {
|
||||||
postProcess: 'capitalizeFirstChar',
|
postProcess: 'capitalizeFirstChar',
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
Alert,
|
Alert,
|
||||||
|
AppBar,
|
||||||
Box,
|
Box,
|
||||||
Button,
|
Button,
|
||||||
Card,
|
Card,
|
||||||
@ -10,6 +11,7 @@ import {
|
|||||||
Divider,
|
Divider,
|
||||||
IconButton,
|
IconButton,
|
||||||
Snackbar,
|
Snackbar,
|
||||||
|
Toolbar,
|
||||||
Typography,
|
Typography,
|
||||||
useTheme,
|
useTheme,
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
@ -573,34 +575,26 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DialogTitle
|
<AppBar sx={{ position: 'relative' }}>
|
||||||
id="alert-dialog-title"
|
<Toolbar>
|
||||||
sx={{
|
<Typography sx={{ ml: 2, flex: 1 }} variant="h4" component="div">
|
||||||
textAlign: 'center',
|
{t('group:message.generic.manage_minting', {
|
||||||
color: theme.palette.text.primary,
|
postProcess: 'capitalizeFirstChar',
|
||||||
fontWeight: 'bold',
|
})}
|
||||||
opacity: 1,
|
</Typography>
|
||||||
}}
|
|
||||||
>
|
|
||||||
{t('group:message.generic.manage_minting', {
|
|
||||||
postProcess: 'capitalizeAll',
|
|
||||||
})}
|
|
||||||
</DialogTitle>
|
|
||||||
|
|
||||||
<IconButton
|
<IconButton
|
||||||
sx={{
|
color="inherit"
|
||||||
position: 'absolute',
|
edge="start"
|
||||||
right: 8,
|
onClick={() => setIsOpenMinting(false)}
|
||||||
top: 8,
|
aria-label={t('core:action.close', {
|
||||||
}}
|
postProcess: 'capitalizeFirstChar',
|
||||||
color="inherit"
|
})}
|
||||||
onClick={() => setIsOpenMinting(false)}
|
>
|
||||||
aria-label={t('core:action.close', {
|
<CloseIcon />
|
||||||
postProcess: 'capitalizeFirstChar',
|
</IconButton>
|
||||||
})}
|
</Toolbar>
|
||||||
>
|
</AppBar>
|
||||||
<CloseIcon />
|
|
||||||
</IconButton>
|
|
||||||
|
|
||||||
<DialogContent
|
<DialogContent
|
||||||
sx={{
|
sx={{
|
||||||
@ -914,16 +908,6 @@ export const Minting = ({ setIsOpenMinting, myAddress, show }) => {
|
|||||||
)}
|
)}
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
|
||||||
<DialogActions>
|
|
||||||
<Button
|
|
||||||
// disabled={isLoadingPublish}
|
|
||||||
variant="contained"
|
|
||||||
onClick={() => setIsOpenMinting(false)}
|
|
||||||
>
|
|
||||||
{t('core:action.close', { postProcess: 'capitalizeFirstChar' })}
|
|
||||||
</Button>
|
|
||||||
</DialogActions>
|
|
||||||
|
|
||||||
<Snackbar
|
<Snackbar
|
||||||
anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}
|
anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}
|
||||||
open={openSnack}
|
open={openSnack}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user