Improves header animation performance.

Refactors the header animation to animate the calendar header's height instead of just the all-day container.

This change improves the perceived performance of the animation. It also reduces animation duration.
This commit is contained in:
Janus Knudsen 2025-09-03 00:12:47 +02:00
parent 8332f2c748
commit 7f387cfa30
2 changed files with 10 additions and 7 deletions

View file

@ -273,7 +273,6 @@ swp-allday-container {
padding: 2px;
align-items: center;
overflow: hidden;
height: 0px; /* Initial height for Web Animation API */
}
/* All-day events in containers */