mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix: re-structure the system tables reports.
This commit is contained in:
@@ -4,7 +4,7 @@ import styled from 'styled-components';
|
||||
|
||||
import { defaultExpanderReducer, tableRowTypesToClassnames } from 'utils';
|
||||
|
||||
import { FinancialSheet, DataTable } from 'components';
|
||||
import { FinancialSheet, ReportDataTable } from 'components';
|
||||
import TableVirtualizedListRows from 'components/Datatable/TableVirtualizedRows';
|
||||
import TableFastCell from 'components/Datatable/TableFastCell';
|
||||
|
||||
@@ -66,7 +66,7 @@ export default function GeneralLedgerTable({ companyName }) {
|
||||
);
|
||||
}
|
||||
|
||||
const GeneralLedgerDataTable = styled(DataTable)`
|
||||
const GeneralLedgerDataTable = styled(ReportDataTable)`
|
||||
.tbody {
|
||||
.tr .td {
|
||||
padding-top: 0.2rem;
|
||||
@@ -91,13 +91,12 @@ const GeneralLedgerDataTable = styled(DataTable)`
|
||||
&.date {
|
||||
font-weight: 500;
|
||||
|
||||
.cell-inner{
|
||||
.cell-inner {
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:first-child).is-expanded .td {
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
@@ -109,7 +108,6 @@ const GeneralLedgerDataTable = styled(DataTable)`
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
&--CLOSING_BALANCE {
|
||||
.name {
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user