@tenonhq/dovetail-dashboard 0.0.40 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenonhq/dovetail-dashboard",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "description": "Update Set Dashboard for Dovetail",
5
5
  "main": "server.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  "postpublish": "npm run version:bump"
10
10
  },
11
11
  "dependencies": {
12
- "@tenonhq/dovetail-claude-plans": "~0.0.24",
12
+ "@tenonhq/dovetail-claude-plans": "~0.0.23",
13
13
  "@tenonhq/dovetail-todo": "~0.0.1",
14
14
  "axios": "^1.5.1",
15
15
  "axios-cookiejar-support": "^4.0.7",
@@ -383,6 +383,18 @@
383
383
  justify-content: center;
384
384
  }
385
385
  .cp-mermaid svg { max-width: 100%; height: auto; }
386
+ /* Mermaid sizes each node/label box by measuring its text at line-height: normal.
387
+ The dashboard's global unitless line-height (1.65) cascades as a multiplier into
388
+ the SVG's foreignObject HTML labels, so they render taller than mermaid measured —
389
+ multi-line node labels then overflow their boxes and the lower lines get clipped.
390
+ Reset the inherited line-height inside mermaid SVGs so rendered text matches the
391
+ measurement and boxes contain their labels. */
392
+ .cp-mermaid svg foreignObject,
393
+ .cp-mermaid svg foreignObject div,
394
+ .cp-mermaid svg foreignObject span,
395
+ .cp-mermaid svg foreignObject p {
396
+ line-height: normal;
397
+ }
386
398
  .cp-mermaid-error {
387
399
  color: var(--error-700);
388
400
  font-size: 12px;