diff --git a/frontend/src/components/AccountsOverview.tsx b/frontend/src/components/AccountsOverview.tsx index c5db46b..a12c058 100644 --- a/frontend/src/components/AccountsOverview.tsx +++ b/frontend/src/components/AccountsOverview.tsx @@ -201,14 +201,15 @@ export default function AccountsOverview() { return (
-
-
-
- + {/* Mobile layout - stack vertically */} +
+
+
+
-
+
{editingAccountId === account.id ? (
@@ -216,7 +217,7 @@ export default function AccountsOverview() { type="text" value={editingName} onChange={(e) => setEditingName(e.target.value)} - className="flex-1 px-3 py-1 text-lg font-medium border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500" + className="flex-1 px-3 py-1 text-base sm:text-lg font-medium border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Account name" name="search" autoComplete="off" @@ -245,29 +246,29 @@ export default function AccountsOverview() {
-

+

{account.institution_id} • {account.status}

) : (
-
-

+
+

{account.name || "Unnamed Account"}

-

+

{account.institution_id} • {account.status}

{account.iban && ( -

+

IBAN: {account.iban}

)} @@ -276,7 +277,8 @@ export default function AccountsOverview() {

-
+ {/* Balance and date section */} +
{isPositive ? ( @@ -284,14 +286,14 @@ export default function AccountsOverview() { )}

{formatCurrency(balance, currency)}

-

+

Updated{" "} {formatDate(account.last_accessed || account.created)}