Fixed the style of the indent and total line of the income statement.

This commit is contained in:
依瑪貓 2023-03-07 12:35:56 +08:00
parent dffcf6d2ce
commit e0a807d625

View File

@ -184,18 +184,18 @@ a.accounting-report-table-row {
.accounting-income-statement-subcategory, .accounting-income-statement-subtotal { .accounting-income-statement-subcategory, .accounting-income-statement-subtotal {
font-size: 1.1rem; font-size: 1.1rem;
} }
.accounting-income-statement-subcategory > :first-child {
padding-left: 1rem;
}
.accounting-income-statement-subtotal { .accounting-income-statement-subtotal {
border-top: thin solid darkslategray; border-top: thin solid darkslategray;
} }
.accounting-income-statement-account > :first-child, .accounting-income-statement-subtotal > :first-child { /* Indents */
padding-left: 2rem; .accounting-income-statement-subcategory {
margin-left: 0.5rem;
} }
.accounting-income-statement-account > .accounting-amount, .accounting-income-statement-subtotal .accounting-amount { .accounting-income-statement-account, .accounting-income-statement-subtotal {
padding-right: 2rem; margin-left: 1rem;
margin-right: 1rem;
} }
/* A visual blank line between categories */
.accounting-income-statement-category { .accounting-income-statement-category {
margin-top: 2rem; margin-top: 2rem;
} }