Adjusts week header z-index

Lowers the z-index of the week header to ensure it slides under the header-spacer during horizontal scrolling.

This prevents the week header from overlapping the header-spacer, improving the visual flow of the calendar layout.
This commit is contained in:
Janus Knudsen 2025-07-29 21:30:26 +02:00
parent 1d25ab7b53
commit bfd2ba0272

View file

@ -212,7 +212,7 @@ swp-week-header {
border-bottom: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 5; /* Higher than time-axis to cover it when scrolling */ z-index: 3; /* Lower than header-spacer so it slides under during horizontal scroll */
height: 80px; /* Fixed height */ height: 80px; /* Fixed height */
} }