Commit 79c1b33
fix(apollo-vertex): scope dashboard card padding to a dedicated variant
Previously this PR added `gap-6 py-6` to the base `cardVariants` class,
which made every Card consumer in the codebase get 24px vertical
padding by default. metric-card already provides its own inner `p-6`,
so metric cards rendered with stacked padding — a visual regression.
Move the dashboard-specific rhythm to a `variant="dashboard"` option
on cardVariants. Dashboard cards can opt in; other Card consumers
(metric-card, queue cards, comms cards, etc.) keep their previous
behavior.
Addresses review feedback on #730.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 13851ca commit 79c1b33
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
0 commit comments