From 9963db2465d54ca0620ee0a83b91c58ea777b39c Mon Sep 17 00:00:00 2001 From: Avery Felts Date: Wed, 28 Jan 2026 00:35:34 -0700 Subject: [PATCH] UI: Moved calendar legend to top of card for better visibility --- src/components/UsageCalendar.tsx | 49 ++++++++++++++++---------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/src/components/UsageCalendar.tsx b/src/components/UsageCalendar.tsx index 1e84d8d..4a7bc71 100644 --- a/src/components/UsageCalendar.tsx +++ b/src/components/UsageCalendar.tsx @@ -219,6 +219,30 @@ export function UsageCalendar({ usageData, onDataUpdate, religion, onReligionUpd <> + {/* Legend - moved to top */} +
+
+
+ No usage +
+
+
+ Today +
+
+
+ Nicotine +
+
+
+ Marijuana +
+
+
+ Both +
+
+
{/* Calendar */}
@@ -263,31 +287,6 @@ export function UsageCalendar({ usageData, onDataUpdate, religion, onReligionUpd />
-
-
-
- No usage -
-
-
- Today -
-
-
- Nicotine -
-
-
- Marijuana -
-
-
- Both -
-
-

- Click any day to edit the count -