Improves all-day event rendering and placement

Simplifies and improves the all-day event rendering process, ensuring
consistent container creation and proper placement of events.

- Ensures all-day containers are consistently created during header
  rendering, preventing potential issues with event placement.
- Removes the complex and unreliable mouseover detection for all-day
  conversion, simplifying the event dragging logic.
- Eliminates the dynamic all-day row height calculation, relying on
  CSS for layout control.
- Prevents errors when the all-day container is missing.
This commit is contained in:
Janus Knudsen 2025-08-31 23:48:34 +02:00
parent fafad16926
commit ae42de1f3b
4 changed files with 15 additions and 105 deletions

View file

@ -17,7 +17,7 @@
--week-days: 7;
--header-height: 80px;
--all-day-row-height: 0px; /* Default height for all-day events row */
--allday-event-height: 26px; /* Height of single all-day event including gaps */
--all-day-event-height: 26px; /* Height of single all-day event including gaps */
--stack-levels: 1; /* Number of stack levels for all-day events */
/* Time boundaries - Default fallback values */