Commit cf475c8
fix(showcase): command-center throughput bars render — native div grid + width:100% (ADR-0065) (#2497)
Browser verification of the command-center html page on a real objectstack serve
console showed the Weekly Throughput bars rendering empty. Two html-tier nuances:
- <grid columns={7}> emits responsive classes (grid-cols-1 sm:grid-cols-2
md:grid-cols-7) that collapse to 1 column inside the narrow card → use a native
<div style={{display:'grid', gridTemplateColumns:'repeat(7,1fr)'}}> for a fixed
7-track grid;
- the bar <flex> items (display:flex, no children) collapsed to width:0 and the
grid container (a flex-column child) didn't stretch → native block <div> bars +
width:100% on the container.
Verified in a live console: header typography, KPI cards, the primary-bg card,
the 7 throughput bars (now visible), and the activity dots all render correctly.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent d50b28e commit cf475c8
1 file changed
Lines changed: 9 additions & 9 deletions
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments