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 ( return (
<span <span
className={'force-width'} className={'force-width'}
style={{ minWidth: getForceWidth(cells[0].key) }} style={{ minWidth: getForceWidth(cells[0].value) }}
> >
{cells[0].value} {cells[0].value}
</span> </span>
); );
}, },
className: 'customer_name', className: 'customer_name',
textOverview: true, // textOverview: true,
}, },
{ {
Header: intl.get('account_name'), Header: intl.get('account_name'),

View File

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

View File

@@ -64,12 +64,11 @@
display: none; display: none;
} }
} }
} &:not(:first-child).is-expanded .td {
&--CUSTOMER:last-child { border-top: 1px solid #ddd;
.td {
border-bottom: 1px solid #ddd;
} }
} }
&--CUSTOMER:last-child,
&--VENDOR:last-child { &--VENDOR:last-child {
.td { .td {
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;