Slide day header and prefetch adjacent days
This commit is contained in:
+9
-3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user