receive page adjust margin

This commit is contained in:
fmtabbara
2021-08-23 21:34:14 +01:00
parent c161b2fe71
commit 1c8c0a47bc
+14 -19
View File
@@ -21,27 +21,22 @@ export const Receive = () => {
</Grid>
<Grid item>
<Card
style={{ margin: theme.spacing(3, 0) }}
style={{
margin: theme.spacing(1, 0),
display: 'flex',
justifyContent: 'space-between',
flexWrap: 'wrap',
padding: theme.spacing(3),
}}
variant="outlined"
>
<CardContent>
<div
style={{
display: 'flex',
justifyContent: 'space-between',
flexWrap: 'wrap',
padding: theme.spacing(1),
}}
>
<Typography
variant={matches ? 'h5' : 'subtitle1'}
style={{ wordBreak: 'break-word' }}
>
{address}
</Typography>
<CopyToClipboard text={address} />
</div>
</CardContent>
<Typography
variant={matches ? 'h5' : 'subtitle1'}
style={{ wordBreak: 'break-word' }}
>
{address}
</Typography>
<CopyToClipboard text={address} />
</Card>
</Grid>
</Grid>