From 71c241b7c1050ac10b66f3c72217357a33f3bc79 Mon Sep 17 00:00:00 2001 From: Avery Felts Date: Sun, 25 Jan 2026 18:53:03 -0700 Subject: [PATCH] style: Fix desktop calendar layout and add clean mobile border --- src/app/globals.css | 4 ++-- src/components/UsageCalendar.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 33f7277..f076455 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -219,14 +219,14 @@ /* Calendar styling - optimize cell size */ .rdp { --rdp-cell-size: 40px; - width: 100%; } /* Make calendar fill available space on mobile */ @media (max-width: 640px) { .rdp { - --rdp-cell-size: calc((100vw - 80px) / 7); + --rdp-cell-size: calc((100vw - 60px) / 7); font-size: 0.9rem; + margin: 0 auto; } .rdp-month { diff --git a/src/components/UsageCalendar.tsx b/src/components/UsageCalendar.tsx index 4652195..d3433cf 100644 --- a/src/components/UsageCalendar.tsx +++ b/src/components/UsageCalendar.tsx @@ -221,12 +221,12 @@ export function UsageCalendar({ usageData, onDataUpdate, religion, onReligionUpd
{/* Calendar */} -
+