diff --git a/new-lamassu-admin/src/components/editableTable/Table.js b/new-lamassu-admin/src/components/editableTable/Table.js index a6e7b77c..79f45003 100644 --- a/new-lamassu-admin/src/components/editableTable/Table.js +++ b/new-lamassu-admin/src/components/editableTable/Table.js @@ -127,6 +127,8 @@ const ETable = ({ ((enableToggle && toggleWidth) ?? 0) const width = getWidth(elements) + actionColSize + console.log(width, getWidth(elements), actionColSize) + console.log(elements) const classes = useStyles({ width }) const showButtonOnEmpty = !data.length && enableCreate && !adding diff --git a/new-lamassu-admin/src/pages/Wallet/Wallet.styles.js b/new-lamassu-admin/src/pages/Wallet/Wallet.styles.js index f9a6bb52..184d0e9a 100644 --- a/new-lamassu-admin/src/pages/Wallet/Wallet.styles.js +++ b/new-lamassu-admin/src/pages/Wallet/Wallet.styles.js @@ -12,5 +12,8 @@ export default { }, selection: { marginRight: 12 + }, + table: { + width: 1000 } } diff --git a/new-lamassu-admin/src/pages/Wallet/helper.js b/new-lamassu-admin/src/pages/Wallet/helper.js index 67491ac5..226dbd66 100644 --- a/new-lamassu-admin/src/pages/Wallet/helper.js +++ b/new-lamassu-admin/src/pages/Wallet/helper.js @@ -95,7 +95,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => { { name: 'id', header: 'Cryptocurrency', - width: 180 - widthAdjust, + width: 150 - widthAdjust, view: viewCryptoCurrency, size: 'sm', editable: false @@ -105,7 +105,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => { size: 'sm', stripe: true, view: getDisplayName('ticker'), - width: 190 - widthAdjust, + width: 175 - widthAdjust, input: Autocomplete, inputProps: { options: getOptions('ticker'), @@ -119,7 +119,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => { size: 'sm', stripe: true, view: getDisplayName('wallet'), - width: 190 - widthAdjust, + width: 175 - widthAdjust, input: Autocomplete, inputProps: { options: getOptions('wallet'), @@ -134,7 +134,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => { size: 'sm', stripe: true, view: getDisplayName('exchange'), - width: 190 - widthAdjust, + width: 175 - widthAdjust, input: Autocomplete, inputProps: { options: getOptions('exchange'), @@ -151,7 +151,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => { stripe: true, view: getDisplayName('zeroConf'), input: Autocomplete, - width: 220 - widthAdjust, + width: 210 - widthAdjust, inputProps: { options: getOptions('zeroConf'), valueProp: 'code', @@ -168,7 +168,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => { view: (it, row) => row.id === 'ETH' ? {it} : it, input: NumberInput, - width: 190 - widthAdjust, + width: 145 - widthAdjust, inputProps: { decimalPlaces: 0 },