fix: make the non-list view overrides narrower

This commit is contained in:
siiky 2022-10-10 16:05:43 +01:00 committed by Rafael
parent 6d141f816d
commit 328257432e

View file

@ -91,7 +91,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
}, },
{ {
name: 'cryptoCurrencies', name: 'cryptoCurrencies',
width: 280, width: 145,
size: 'sm', size: 'sm',
view: displayCodeArray(cryptoData), view: displayCodeArray(cryptoData),
input: Autocomplete, input: Autocomplete,
@ -108,7 +108,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
header: cashInHeader, header: cashInHeader,
name: 'cashIn', name: 'cashIn',
display: 'Cash-in', display: 'Cash-in',
width: 130, width: 123,
input: NumberInput, input: NumberInput,
textAlign: 'right', textAlign: 'right',
suffix: '%', suffix: '%',
@ -121,7 +121,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
header: cashOutHeader, header: cashOutHeader,
name: 'cashOut', name: 'cashOut',
display: 'Cash-out', display: 'Cash-out',
width: 130, width: 127,
input: NumberInput, input: NumberInput,
textAlign: 'right', textAlign: 'right',
suffix: '%', suffix: '%',
@ -133,7 +133,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
{ {
name: 'fixedFee', name: 'fixedFee',
display: 'Fixed fee', display: 'Fixed fee',
width: 144, width: 126,
input: NumberInput, input: NumberInput,
doubleHeader: 'Cash-in only', doubleHeader: 'Cash-in only',
textAlign: 'right', textAlign: 'right',
@ -146,7 +146,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
{ {
name: 'minimumTx', name: 'minimumTx',
display: 'Minimum Tx', display: 'Minimum Tx',
width: 169, width: 140,
doubleHeader: 'Cash-in only', doubleHeader: 'Cash-in only',
textAlign: 'center', textAlign: 'center',
editingAlign: 'right', editingAlign: 'right',
@ -160,7 +160,7 @@ const getOverridesFields = (getData, currency, auxElements) => {
{ {
name: 'cashOutFixedFee', name: 'cashOutFixedFee',
display: 'Fixed fee', display: 'Fixed fee',
width: 144, width: 134,
doubleHeader: 'Cash-out only', doubleHeader: 'Cash-out only',
textAlign: 'center', textAlign: 'center',
editingAlign: 'right', editingAlign: 'right',