style: chequebook header in accounting page (#81)

This commit is contained in:
Vojtech Simetka
2021-04-23 15:20:57 +02:00
committed by GitHub
parent bea9d5557f
commit 73702bfffb
+9 -2
View File
@@ -29,6 +29,11 @@ const useStyles = makeStyles((theme: Theme) =>
flexWrap: 'wrap', flexWrap: 'wrap',
justifyContent: 'space-between', justifyContent: 'space-between',
}, },
chequebookActions: {
justifyContent: 'space-between',
display: 'flex',
marginBottom: theme.spacing(1),
},
}), }),
) )
@@ -50,8 +55,10 @@ function AccountCard({ totalreceived, totalsent, chequebookBalance, isLoading }:
return ( return (
<div> <div>
<div style={{ justifyContent: 'space-between', display: 'flex' }}> <div className={classes.chequebookActions}>
<h2 style={{ marginTop: '0px' }}>Chequebook</h2> <Typography component="h2" variant="h6">
Chequebook
</Typography>
<div className={classes.buttons}> <div className={classes.buttons}>
<WithdrawModal /> <WithdrawModal />
<DepositModal /> <DepositModal />