Slide day header and prefetch adjacent days

This commit is contained in:
hnzio committed 2026-05-21 12:51:10 +02:00
1 parent 1dd5339a46
commit 2047cae61c
4 files changed
+22 -9

No files matched your search

+9 -3
View File
@@ -468,14 +468,20 @@ body.page-dashboard .content {
height: 11rem;
margin-top: 0.95rem;
touch-action: pan-y;
transform: translateX(var(--day-strip-offset, 0));
}
.dashboard-compare-strip.is-dragging {
cursor: grabbing;
}
.dashboard-day__hero[data-day-slider] {
transform: translateX(var(--day-slider-offset, 0));
transition: transform 180ms ease;
will-change: transform;
}
.dashboard-compare-strip.is-dragging {
.dashboard-day__hero[data-day-slider].is-dragging {
transition: none;
cursor: grabbing;
}
.compare-day {