fix: cashbox history table height
This commit is contained in:
parent
b86bcf63ff
commit
ac7bcac53f
1 changed files with 15 additions and 7 deletions
|
|
@ -51,6 +51,12 @@ const styles = {
|
|||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'space-between'
|
||||
},
|
||||
tableWrapper: {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
flex: 1,
|
||||
marginBottom: 80
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -243,13 +249,15 @@ const CashboxHistory = ({ machines, currency, timezone }) => {
|
|||
]
|
||||
|
||||
return (
|
||||
<DataTable
|
||||
loading={loading}
|
||||
name="cashboxHistory"
|
||||
elements={elements}
|
||||
data={batches}
|
||||
emptyText="No cash box batches so far"
|
||||
/>
|
||||
<div className={classes.tableWrapper}>
|
||||
<DataTable
|
||||
loading={loading}
|
||||
name="cashboxHistory"
|
||||
elements={elements}
|
||||
data={batches}
|
||||
emptyText="No cash box batches so far"
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue