mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 16:13:15 +00:00
The all-day/tasks area in the week view took its height from (allDayRowCount + taskRowCount) across every loaded day. Since free scrolling loads 37 to 180 days, one crowded day anywhere in that range blew the header up to 250+ px for every week and pushed the time grid down; tasks were also stacked below the global all-day row count, leaving a gap on days without all-day events. - Stack each day's tasks directly below that day's all-day events. - Size the area from the days in view only: track the first visible day by date (so columns prepended while loading do not shift it) plus the number of visible columns (7 on desktop, by width on mobile). - Cap the area at 3 rows with an expand/collapse toggle when a visible day has more entries. Tests cover per-day task stacking, the 3-row cap and toggle, an empty week next to a crowded one, and the area growing when scrolling into it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>