From b46d0fe5f1f1e337e9c6f2c10325f9a1b7c30f69 Mon Sep 17 00:00:00 2001 From: Claudio Schaad Date: Sat, 28 Jun 2025 11:23:33 +0200 Subject: [PATCH] Cleanup CSS --- .../Components/Pages/Home.razor | 2 +- .../Components/Pages/Home.razor.css | 22 ++++++++----------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/Schaad.Accounting.UI/Components/Pages/Home.razor b/Schaad.Accounting.UI/Components/Pages/Home.razor index 0993000..6264f3a 100644 --- a/Schaad.Accounting.UI/Components/Pages/Home.razor +++ b/Schaad.Accounting.UI/Components/Pages/Home.razor @@ -59,7 +59,7 @@ else
@transaction.ValueDate.ToString("dd.MM.yyyy")
- +
@Math.Abs(transaction.Value).ToFormattedString()
diff --git a/Schaad.Accounting.UI/Components/Pages/Home.razor.css b/Schaad.Accounting.UI/Components/Pages/Home.razor.css index e8088fd..4ecc366 100644 --- a/Schaad.Accounting.UI/Components/Pages/Home.razor.css +++ b/Schaad.Accounting.UI/Components/Pages/Home.razor.css @@ -16,13 +16,14 @@ th { background-color: #f8f8f8; } -th:nth-child(1), td:nth-child(1) { width: 120px; } -th:nth-child(2), td:nth-child(2) { width: 120px; } -th:nth-child(3), td:nth-child(3) { width: 100px; text-align: right; } -th:nth-child(5), td:nth-child(5) { width: 240px; } -th:nth-child(6), td:nth-child(6) { width: 300px; } -th:nth-child(7), td:nth-child(7), -th:nth-child(8), td:nth-child(8) { width: 40px; text-align: center; } +th:nth-child(1), td:nth-child(1) { width: 120px; } /* Booking Date */ +th:nth-child(2), td:nth-child(2) { width: 120px; } /* Valuta Date */ +th:nth-child(3), td:nth-child(3) { width: 100px; text-align: right; } /* Amount */ +th:nth-child(4), td:nth-child(4) { } /* Zusatzinfo */ +th:nth-child(5), td:nth-child(5) { width: 240px; } /* Text */ +th:nth-child(6), td:nth-child(6) { width: 300px; } /* Account */ +th:nth-child(7), td:nth-child(7) { width: 40px; text-align: center; } /* Split */ +th:nth-child(8), td:nth-child(8) { width: 40px; text-align: center; } /* Save */ .text-column input { width: 100%; @@ -35,9 +36,4 @@ th:nth-child(8), td:nth-child(8) { width: 40px; text-align: center; } overflow: hidden; text-overflow: ellipsis; width: 100%; -} - -.betrag-column { - text-align: right; - white-space: nowrap; -} +} \ No newline at end of file