This commit is contained in:
Janus Knudsen 2025-08-05 18:32:24 +02:00
parent ca09fd13a6
commit a501f02d61
3 changed files with 11 additions and 24 deletions

View file

@ -233,30 +233,8 @@ swp-time-grid {
height: calc(12 * var(--hour-height));
}
swp-time-grid::before {
content: '';
position: absolute;
top: calc((var(--work-start-hour) - var(--day-start-hour)) * var(--hour-height));
height: calc((var(--work-end-hour) - var(--work-start-hour)) * var(--hour-height));
left: 0;
right: 0;
background: var(--color-work-hours);
pointer-events: none;
}
/* Day columns */
swp-day-columns {
position: absolute;
inset: 0;
display: grid;
grid-template-columns: repeat(7, 1fr);
}
swp-day-column:last-child {
border-right: none;
}
swp-events-layer {
position: absolute;