mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
fix: force-width
This commit is contained in:
@@ -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'),
|
||||||
|
|||||||
@@ -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,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user