Changed the display style of the rows in the income statement from grid to flex, to simplify the layout.

This commit is contained in:
依瑪貓 2023-03-07 12:39:29 +08:00
parent e0a807d625
commit 46ffc7a73d

View File

@ -172,10 +172,8 @@ a.accounting-report-table-row {
border-bottom: thick double slategray; border-bottom: thick double slategray;
} }
.accounting-income-statement-table .accounting-report-table-row { .accounting-income-statement-table .accounting-report-table-row {
grid-template-columns: 3fr 1fr; display: flex;
} justify-content: space-between;
.accounting-income-statement-table .accounting-report-table-header .accounting-report-table-row, .accounting-income-statement-table .accounting-report-table-row.accounting-income-statement-category, .accounting-income-statement-table .accounting-report-table-row.accounting-income-statement-subcategory {
grid-template-columns: 1fr;
} }
.accounting-income-statement-category, .accounting-income-statement-total { .accounting-income-statement-category, .accounting-income-statement-total {
font-size: 1.2rem; font-size: 1.2rem;
@ -190,6 +188,7 @@ a.accounting-report-table-row {
/* Indents */ /* Indents */
.accounting-income-statement-subcategory { .accounting-income-statement-subcategory {
margin-left: 0.5rem; margin-left: 0.5rem;
margin-right: 0.5rem;
} }
.accounting-income-statement-account, .accounting-income-statement-subtotal { .accounting-income-statement-account, .accounting-income-statement-subtotal {
margin-left: 1rem; margin-left: 1rem;