fix: force-width

This commit is contained in:
elforjani13
2021-11-11 16:15:45 +02:00
parent 918cd4aef3
commit 376a16fd65
3 changed files with 7 additions and 8 deletions

View File

@@ -22,14 +22,14 @@ export const useCustomersTransactionsColumns = () => {
return (
<span
className={'force-width'}
style={{ minWidth: getForceWidth(cells[0].key) }}
style={{ minWidth: getForceWidth(cells[0].value) }}
>
{cells[0].value}
</span>
);
},
className: 'customer_name',
textOverview: true,
// textOverview: true,
},
{
Header: intl.get('account_name'),

View File

@@ -21,14 +21,14 @@ export const useVendorsTransactionsColumns = () => {
return (
<span
className={'force-width'}
style={{ minWidth: getForceWidth(cells[0].key) }}
style={{ minWidth: getForceWidth(cells[0].value) }}
>
{cells[0].value}
</span>
);
},
className: 'vendor_name',
textOverview: true,
// textOverview: true,
// width: 240,
},
{