diff --git a/apps/docs/islands/DependencySpine.tsx b/apps/docs/islands/DependencySpine.tsx index 6f393ec..7df387d 100644 --- a/apps/docs/islands/DependencySpine.tsx +++ b/apps/docs/islands/DependencySpine.tsx @@ -176,8 +176,8 @@ const topicRoutes = (nav: unknown): Record => { // ── component ──────────────────────────────────────────────────── interface ViewBox { x: number; y: number; w: number; h: number } -/** The resting view — 2× on the centre so node labels read at the content width; 1× stays reachable by zooming out. */ -const HOME_ZOOM = 2; +/** The resting view — 1.6× on the centre so node labels read at the content width; 1× stays reachable by zooming out. */ +const HOME_ZOOM = 1.6; const HOME: ViewBox = { x: (W - W / HOME_ZOOM) / 2, y: (H - H / HOME_ZOOM) / 2, w: W / HOME_ZOOM, h: H / HOME_ZOOM }; const clamp = (v: number, lo: number, hi: number) => Math.min(Math.max(v, lo), hi);