Refactors all-day event layout tracking logic
Removes redundant state tracking for all-day event layouts Shifts from maintaining internal layout state to reading directly from DOM elements Simplifies event handling and updates by using DOM as the source of truth Improves performance by reducing unnecessary state management
This commit is contained in:
parent
4cc110d9f2
commit
2656bae054
3 changed files with 83 additions and 67 deletions
|
|
@ -197,6 +197,11 @@ swp-calendar-header {
|
|||
gap: 2px 0px;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
|
||||
/* Border only when events exist */
|
||||
&:has(swp-allday-event) {
|
||||
border-bottom: 1px solid var(--color-grid-line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue