mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat: style balance sheet comparison.
This commit is contained in:
@@ -12,7 +12,7 @@ import { Row, Col, FieldHint } from '../../../components';
|
|||||||
*/
|
*/
|
||||||
export default function BalanceSheetHeaderComparisonPanal() {
|
export default function BalanceSheetHeaderComparisonPanal() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<BalanceSheetComparisonWrap>
|
||||||
{/*------------ Percentage -----------*/}
|
{/*------------ Percentage -----------*/}
|
||||||
<Row>
|
<Row>
|
||||||
<Col xs={3}>
|
<Col xs={3}>
|
||||||
@@ -137,6 +137,24 @@ export default function BalanceSheetHeaderComparisonPanal() {
|
|||||||
</FastField>
|
</FastField>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
</div>
|
</BalanceSheetComparisonWrap>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const BalanceSheetComparisonWrap = styled.div`
|
||||||
|
.row {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
margin-left: -0.3rem;
|
||||||
|
margin-right: -0.3rem;
|
||||||
|
|
||||||
|
.col {
|
||||||
|
padding-left: 0.3rem;
|
||||||
|
padding-right: 0.3rem;
|
||||||
|
|
||||||
|
.bp3-form-group {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
.thead,
|
.thead,
|
||||||
.tbody{
|
.tbody{
|
||||||
.tr .td.account_name ~ .td,
|
.tr .td.name ~ .td,
|
||||||
.tr .th.account_name ~ .th{
|
.tr .th.name ~ .th{
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user