Skip to content

Commit b11cc06

Browse files
committed
fix(viz): flatten cohort column placeholder, drop fade-to-bg-deep gradient
1 parent 5f2a61e commit b11cc06

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/dashboard/src/components/viz/CohortSwarmGrid.module.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,12 @@
161161
justify-content: center;
162162
gap: 12px;
163163
padding: 24px;
164-
background: linear-gradient(
165-
180deg,
166-
color-mix(in srgb, var(--actor-color, var(--amber)) 4%, var(--bg-panel)) 0%,
167-
var(--bg-deep) 100%
168-
);
164+
// Flat actor-tinted panel instead of a fade-to-bg-deep gradient. The
165+
// gradient produced a heavy dark band on each unmounted column in
166+
// dark mode and an inverted dark-at-top stripe in light mode (where
167+
// bg-deep is lighter than bg-panel). The shimmer already carries the
168+
// loading affordance, so the gradient added nothing functional.
169+
background: color-mix(in srgb, var(--actor-color, var(--amber)) 4%, var(--bg-panel));
169170
min-height: 480px;
170171
}
171172

0 commit comments

Comments
 (0)