From 7960dee431e0eea0443e3630ba9db0ac0bd7d77b Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 22 Sep 2026 15:10:30 -0400 Subject: [PATCH] =?UTF-8?q?docs(docs):=20adjust=20default=20zoom=20to=201.?= =?UTF-8?q?6=C3=97=20for=20improved=20label=20readability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/docs/islands/DependencySpine.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);