diff --git a/src/app/globals.css b/src/app/globals.css index 1d017ea..b1c0044 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -220,6 +220,9 @@ /* Calendar styling - optimize cell size */ .rdp { --rdp-cell-size: 40px; + --rdp-accent-color: var(--primary); + --rdp-background-color: var(--primary-foreground); + margin: 0; } /* Make calendar fill available space on mobile */ @@ -230,15 +233,21 @@ margin: 0; } + .rdp-months { + width: 100%; + } + .rdp-month { width: 100%; } - .rdp-table { - width: 100%; - max-width: 100%; - display: table; - table-layout: fixed; + /* V9 grid class */ + .rdp-month_grid { + width: 100% !important; + max-width: 100% !important; + display: table !important; + table-layout: fixed !important; + border-collapse: collapse; } .rdp-day { @@ -246,10 +255,24 @@ max-width: none; height: auto; aspect-ratio: 1; + padding: 2px !important; } - .rdp-head_cell { + .rdp-weekday { width: 100%; + padding: 8px 0 !important; + font-size: 0.75rem; + text-transform: uppercase; + font-weight: 700; + opacity: 0.6; + } + + /* Ensure Sunday (first column) doesn't stretch */ + .rdp-month_grid th, + .rdp-month_grid td { + width: 14.28% !important; + max-width: 14.28% !important; + overflow: hidden; } } diff --git a/src/components/DailyInspirationCard.tsx b/src/components/DailyInspirationCard.tsx index 3d0f277..1273781 100644 --- a/src/components/DailyInspirationCard.tsx +++ b/src/components/DailyInspirationCard.tsx @@ -132,16 +132,16 @@ export function DailyInspirationCard({ initialReligion, onReligionChange }: Dail return (
-
+
-
+
{getIcon()} @@ -174,13 +174,13 @@ export function DailyInspirationCard({ initialReligion, onReligionChange }: Dail
-

+

“{dailyVerse.text}”

-

+

— {dailyVerse.source}

-
+
); } diff --git a/src/components/UsageCalendar.tsx b/src/components/UsageCalendar.tsx index db17c04..1e84d8d 100644 --- a/src/components/UsageCalendar.tsx +++ b/src/components/UsageCalendar.tsx @@ -17,6 +17,7 @@ import { ChevronLeftIcon, ChevronRightIcon, Cigarette, Leaf, Sparkles } from 'lu import { useTheme } from '@/lib/theme-context'; import { getLocalDateString, getTodayString } from '@/lib/date-utils'; import { DailyInspirationCard } from './DailyInspirationCard'; +import { cn } from '@/lib/utils'; @@ -184,22 +185,26 @@ export function UsageCalendar({ usageData, onDataUpdate, religion, onReligionUpd