diff --git a/package.json b/package.json index 71a89ca..def87d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.75.4", + "version": "1.75.5", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/app/globals.css b/src/app/globals.css index 8a8b535..e7f7029 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -2863,7 +2863,12 @@ h3 { flex: 1; overflow-y: visible; /* Unify with parent scroll */ position: relative; - padding-top: 0; /* Flush with header */ + padding-top: 0.5em; /* Space for first hour label translateY */ +} + +/* First hour label: don't translate above container edge */ +.time-column-slots .time-slot-label:first-child span { + transform: none; } @@ -2913,7 +2918,7 @@ h3 { flex: 1; overflow: visible; /* Changed from auto to unify scroll */ overflow-x: visible; - padding-top: 0; /* Flush with header */ + padding-top: 0.5em; /* Match time-column-slots for alignment */ } .time-slot { diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index f23cd23..d44067c 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -1440,7 +1440,7 @@ function formatHour(hour: number, minutes: number = 0, format: "short" | "full" } // 24h format if (format === "short" && minutes === 0) { - return hour === 0 ? "00" : `${hour}`; + return `${hour}`; } return `${hour.toString().padStart(2, "0")}:${minutes.toString().padStart(2, "0")}`; }