From 6ea064e1bdbc46ecd9d52202dac25a2550affb45 Mon Sep 17 00:00:00 2001 From: Felipe Coutinho Date: Tue, 5 May 2026 17:17:19 +0000 Subject: [PATCH] style: ajusta espacamento de telas do dashboard --- src/app/(dashboard)/attachments/layout.tsx | 1 - src/app/(dashboard)/budgets/page.tsx | 2 - src/app/(dashboard)/calendar/page.tsx | 2 +- src/app/(dashboard)/cards/page.tsx | 2 +- src/app/(dashboard)/categories/page.tsx | 2 +- src/app/(dashboard)/inbox/page.tsx | 2 +- src/app/(dashboard)/notes/page.tsx | 2 +- src/app/(dashboard)/payers/page.tsx | 2 +- .../calendar/components/calendar-legend.tsx | 37 ++++++++++--------- .../components/bills/bill-list-item.tsx | 2 +- 10 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/app/(dashboard)/attachments/layout.tsx b/src/app/(dashboard)/attachments/layout.tsx index b2c6ae7..9508eee 100644 --- a/src/app/(dashboard)/attachments/layout.tsx +++ b/src/app/(dashboard)/attachments/layout.tsx @@ -19,7 +19,6 @@ export default function RootLayout({ subtitle="Gerencie os anexos das suas transações" /> - {children} ); diff --git a/src/app/(dashboard)/budgets/page.tsx b/src/app/(dashboard)/budgets/page.tsx index fff6b01..c3e4ec8 100644 --- a/src/app/(dashboard)/budgets/page.tsx +++ b/src/app/(dashboard)/budgets/page.tsx @@ -25,9 +25,7 @@ export default async function Page({ searchParams }: PageProps) { const userId = await getUserId(); const resolvedSearchParams = searchParams ? await searchParams : undefined; const periodoParam = getSingleParam(resolvedSearchParams, "periodo"); - const { period: selectedPeriod } = parsePeriodParam(periodoParam); - const { budgets, categoriesOptions } = await fetchBudgetsForUser( userId, selectedPeriod, diff --git a/src/app/(dashboard)/calendar/page.tsx b/src/app/(dashboard)/calendar/page.tsx index bdf5803..e331188 100644 --- a/src/app/(dashboard)/calendar/page.tsx +++ b/src/app/(dashboard)/calendar/page.tsx @@ -36,7 +36,7 @@ export default async function Page({ searchParams }: PageProps) { }; return ( -
+
+
+
); diff --git a/src/app/(dashboard)/inbox/page.tsx b/src/app/(dashboard)/inbox/page.tsx index eab5884..8c79599 100644 --- a/src/app/(dashboard)/inbox/page.tsx +++ b/src/app/(dashboard)/inbox/page.tsx @@ -56,7 +56,7 @@ export default async function Page({ searchParams }: PageProps) { const normalizedSourceApps = Array.isArray(sourceApps) ? sourceApps : []; return ( -
+
+
); diff --git a/src/app/(dashboard)/payers/page.tsx b/src/app/(dashboard)/payers/page.tsx index a6b2b5f..d94e000 100644 --- a/src/app/(dashboard)/payers/page.tsx +++ b/src/app/(dashboard)/payers/page.tsx @@ -9,7 +9,7 @@ export default async function Page() { const { payers, avatarOptions } = await fetchPayersForUser(userId); return ( -
+
); diff --git a/src/features/calendar/components/calendar-legend.tsx b/src/features/calendar/components/calendar-legend.tsx index 00e75c2..8d58dd7 100644 --- a/src/features/calendar/components/calendar-legend.tsx +++ b/src/features/calendar/components/calendar-legend.tsx @@ -1,6 +1,7 @@ "use client"; import { EVENT_TYPE_STYLES } from "@/features/calendar/components/day-cell"; +import { Card } from "@/shared/components/ui/card"; import { cn } from "@/shared/utils/ui"; const LEGEND_ITEMS = [ @@ -12,22 +13,24 @@ const LEGEND_ITEMS = [ export function CalendarLegend() { return ( -
    - {LEGEND_ITEMS.map((item) => ( -
  • - - {item.label} -
  • - ))} -
+ +
    + {LEGEND_ITEMS.map((item) => ( +
  • + + {item.label} +
  • + ))} +
+
); } diff --git a/src/features/dashboard/components/bills/bill-list-item.tsx b/src/features/dashboard/components/bills/bill-list-item.tsx index 27f8346..ebb08c6 100644 --- a/src/features/dashboard/components/bills/bill-list-item.tsx +++ b/src/features/dashboard/components/bills/bill-list-item.tsx @@ -44,7 +44,7 @@ export function BillListItem({ bill, period, onPay }: BillListItemProps) { return (
  • -
    +