From 248d29ef22ed6dfaa63b60737fa711d91d037fb2 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Mon, 24 Nov 2025 21:10:54 +0100 Subject: [PATCH] style: replace fieldset with divider in LocationCard monthly statement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace bordered fieldset with divider for cleaner visual separation - Adjust spacing and margins for better alignment - Remove card-based container in favor of simpler layout - Maintain all functionality while improving visual consistency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/ui/LocationCard.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/ui/LocationCard.tsx b/app/ui/LocationCard.tsx index 238a4ff..e8352d1 100644 --- a/app/ui/LocationCard.tsx +++ b/app/ui/LocationCard.tsx @@ -59,12 +59,13 @@ export const LocationCard: FC = ({ location, currency }) => { {monthlyExpense > 0 || seenByTenant || utilBillsProofOfPaymentUploadedAt ? + <> +
{t("monthly-statement-legend")}
+ -
- {t("monthly-statement-legend")} { monthlyExpense > 0 ? -
+
{t("payed-total-label")} {formatCurrency(monthlyExpense, currency ?? "EUR")} @@ -72,7 +73,7 @@ export const LocationCard: FC = ({ location, currency }) => { : null } {seenByTenant && ( -
+
{t("seen-by-tenant-label")} @@ -82,14 +83,14 @@ export const LocationCard: FC = ({ location, currency }) => { {t("download-proof-of-payment-label")} )} -
: null + : null }