Commit a76b148
ux: unify caption rows across drill levels + suppress stray scrollbar
User: "點內圈 應該也都是要像是這樣 有顏色點 然後文字這樣 你沒有統一"
— the caption rows should keep the same visual pattern at every drill
level. Previously overview used color-dot rows but zoomed mode used
flex chips, breaking consistency.
Changes (v1.1.4):
- renderZoomed in initLegend now emits .caption-row elements with the
same [color-dot, label, meta] grid as overview. Each row shows the
class color dot + bold mono symbol + dim name + chain ecosystem.
- Click row -> setState({ selectedAsset: full }) — same flow as the
old chip click. Active row gets .active accent background.
- Old .caption-chip CSS rules unused but harmless (no chips emitted
anymore).
- .sunburst-caption gets overflow-x: hidden to suppress the spurious
horizontal scrollbar (root cause was content briefly overflowing
during state transitions).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 8ef92f3 commit a76b148
2 files changed
Lines changed: 46 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
1488 | 1488 | | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
1494 | | - | |
1495 | | - | |
1496 | | - | |
1497 | | - | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
1498 | 1525 | | |
1499 | | - | |
1500 | | - | |
1501 | 1526 | | |
1502 | | - | |
| 1527 | + | |
| 1528 | + | |
1503 | 1529 | | |
1504 | 1530 | | |
1505 | 1531 | | |
| |||
1515 | 1541 | | |
1516 | 1542 | | |
1517 | 1543 | | |
1518 | | - | |
| 1544 | + | |
1519 | 1545 | | |
1520 | | - | |
1521 | | - | |
| 1546 | + | |
| 1547 | + | |
1522 | 1548 | | |
1523 | 1549 | | |
1524 | 1550 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
| 1434 | + | |
| 1435 | + | |
1434 | 1436 | | |
1435 | 1437 | | |
1436 | 1438 | | |
| |||
0 commit comments