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:
parent
7ac7e0f7f8
commit
dc5063729b
3 changed files with 64 additions and 43 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue