From 64d770ebea443a700448422427ff715ace73d0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Wed, 15 Jul 2026 21:33:43 +0200 Subject: [PATCH] fix(planner): give the note tooltip a fixed width + centered text Follow-up to #593. With a long note the tooltip still squeezed to ~1 word wide: an inline-block with only max-width, inside Leaflet's auto-width tooltip, shrinks to its longest word rather than filling max-width. Give it an explicit `width: 200` (a consistent, comfortably wide box that wraps long notes cleanly) and `text-align: center`. Verified live in the browser against a long repeated note. Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/planner/app/components/PlannerMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/planner/app/components/PlannerMap.tsx b/apps/planner/app/components/PlannerMap.tsx index b931000..292d835 100644 --- a/apps/planner/app/components/PlannerMap.tsx +++ b/apps/planner/app/components/PlannerMap.tsx @@ -218,7 +218,7 @@ export function PlannerMap({ yjs, sessionId, onRouteRequest, highlightPosition, > {wp.note && ( - + {wp.note.length > 120 ? wp.note.slice(0, 120) + "…" : wp.note}