From eebf694d1acd6718da8b1c4b7b0b9b11dce8213e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sat, 11 Apr 2026 00:36:38 +0200 Subject: [PATCH] =?UTF-8?q?Tone=20down=20waypoint=20highlight:=2024?= =?UTF-8?q?=E2=86=9228px,=20keep=20font=20size=20unchanged?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/planner/app/components/PlannerMap.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/planner/app/components/PlannerMap.tsx b/apps/planner/app/components/PlannerMap.tsx index 5ee0ded..67a6921 100644 --- a/apps/planner/app/components/PlannerMap.tsx +++ b/apps/planner/app/components/PlannerMap.tsx @@ -16,7 +16,7 @@ import "leaflet/dist/leaflet.css"; function waypointIcon(index: number, overnight?: boolean, highlighted?: boolean): L.DivIcon { const bg = overnight ? "#8B6D3A" : "#2563eb"; - const size = highlighted ? 30 : 24; + const size = highlighted ? 28 : 24; const offset = size / 2; const ring = highlighted ? `outline:3px solid ${bg};outline-offset:2px;` : ""; return L.divIcon({ @@ -25,7 +25,7 @@ function waypointIcon(index: number, overnight?: boolean, highlighted?: boolean) width:${size}px;height:${size}px;border-radius:50%; background:${bg};color:white; display:flex;align-items:center;justify-content:center; - font-size:${highlighted ? 14 : 12}px;font-weight:600; + font-size:12px;font-weight:600; border:2px solid white;box-shadow:0 1px 4px rgba(0,0,0,0.3); transform:translate(-${offset}px,-${offset}px); ${ring}transition:all 0.15s ease;