feat: optimize the style of general ledger sub-accounts rows

This commit is contained in:
Ahmed Bouhuolia
2024-06-05 22:42:12 +02:00
parent 044f11ff74
commit 5dbfd36415
2 changed files with 35 additions and 13 deletions

View File

@@ -96,12 +96,19 @@ const GeneralLedgerDataTable = styled(ReportDataTable)`
}
}
}
&:not(:first-child).is-expanded .td {
border-top: 1px solid #ddd;
}
}
&--OPENING_BALANCE,
&--CLOSING_BALANCE {
.td {
color: #000;
}
.date {
font-weight: 500;
.cell-inner {
position: absolute;
}
}
.amount {
font-weight: 500;
}
@@ -110,6 +117,9 @@ const GeneralLedgerDataTable = styled(ReportDataTable)`
.name {
font-weight: 500;
}
.td {
border-top: 1px solid #ddd;
}
}
}
}