This commit is contained in:
Janus Knudsen 2025-08-05 16:41:29 +02:00
parent 914239fb70
commit ca09fd13a6
3 changed files with 24 additions and 27 deletions

View file

@ -207,10 +207,30 @@ swp-hour-marker::after {
position: absolute;
top: 0;
left: 100%;
width: 100vw;
width: calc(100vw - 60px); /* Full viewport width minus time-axis width */
height: 1px;
background: var(--color-hour-line);
pointer-events: none;
z-index: 2; /* Ensure it appears above other elements */
}
/* Add hour lines to time-grid as background */
swp-time-grid {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: repeating-linear-gradient(
to bottom,
transparent,
transparent calc(var(--hour-height) - 1px),
var(--color-hour-line) calc(var(--hour-height) - 1px),
var(--color-hour-line) var(--hour-height)
);
pointer-events: none;
z-index: 1;
}
/* Week header - dynamic height based on content */