Enhances event rendering and grid updates

Improves event rendering by adding styling, filtering out all-day events (handled by GridManager), and calculating accurate positioning within the time grid.

Optimizes grid updates to avoid unnecessary rebuilding, instead updating only the week header for all-day events, leading to better performance.
This commit is contained in:
Janus Knudsen 2025-08-05 00:41:59 +02:00
parent 7ac7e0f7f8
commit dc5063729b
3 changed files with 64 additions and 43 deletions

View file

@ -370,6 +370,9 @@ swp-day-column:last-child {
swp-events-layer {
position: absolute;
inset: 0;
display: block;
z-index: var(--z-event);
pointer-events: none; /* Allow clicks to pass through to day column */
}
swp-event {