Merge pull request #1056 from ubavic/cashbox_history_table_height

fix: cash box history table height
This commit is contained in:
Rafael Taranto 2022-01-20 10:47:28 +00:00 committed by GitHub
commit 30db7d8a9c
2 changed files with 19 additions and 25 deletions

View file

@ -338,7 +338,6 @@ const CashCassettes = () => {
</Box> </Box>
)} )}
</TitleSection> </TitleSection>
<div className={classes.tableContainer}>
{!showHistory && ( {!showHistory && (
<> <>
<EditableTable <EditableTable
@ -359,7 +358,6 @@ const CashCassettes = () => {
{showHistory && ( {showHistory && (
<CashboxHistory machines={machines} currency={fiatCurrency} /> <CashboxHistory machines={machines} currency={fiatCurrency} />
)} )}
</div>
<CashCassettesFooter <CashCassettesFooter
currencyCode={fiatCurrency} currencyCode={fiatCurrency}
machines={machines} machines={machines}

View file

@ -4,10 +4,6 @@ export default {
cashbox: { cashbox: {
height: 36 height: 36
}, },
tableContainer: {
flex: 1,
marginBottom: 100
},
tBody: { tBody: {
maxHeight: '65vh', maxHeight: '65vh',
overflow: 'auto' overflow: 'auto'