Unifies all-day event element tag

Removes the `swp-allday-event` custom element, using `swp-event` for all-day events instead. All-day events are now distinguished by their parent `swp-allday-container`. Simplifies element management and CSS selectors.
This commit is contained in:
Janus C. H. Knudsen 2025-09-21 16:03:34 +02:00
parent c7dcfbbaed
commit 2cdbc8f1a3
5 changed files with 12 additions and 12 deletions

View file

@ -299,7 +299,7 @@ swp-allday-column {
}
/* All-day events in containers */
swp-allday-event {
swp-allday-container swp-event {
height: 22px; /* Fixed height for consistent stacking */
background: #ff9800; /* Default orange background */
display: flex;
@ -317,7 +317,7 @@ swp-allday-event {
border-left: 3px solid rgba(0, 0, 0, 0.2);
}
swp-allday-event:last-child {
swp-allday-container swp-event:last-child {
margin-bottom: 0;
}