fix(BalanceSheet): highlight total assets and libaiities.

This commit is contained in:
a.bouhuolia
2022-02-02 13:33:54 +02:00
parent c72802d683
commit 2c2740ea73
3 changed files with 16 additions and 11 deletions

View File

@@ -76,9 +76,15 @@ const BalanceSheetDataTable = styled(DataTable)`
}
}
&:last-of-type .td{
&:last-of-type .td {
border-bottom: 1px solid #bbb;
}
&.row_type--TOTAL.row-id--ASSETS,
&.row_type--TOTAL.row-id--LIABILITY_EQUITY {
.td{
border-bottom: 3px double #000;
}
}
}
}
`;

View File

@@ -14,7 +14,7 @@ const getReportColWidth = (data, accessor, headerText) => {
return getColumnWidth(
data,
accessor,
{ magicSpacing: 9, minWidth: 100 },
{ magicSpacing: 10, minWidth: 100 },
headerText,
);
};