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 */} -
+