From 16b837a2e7cd367fd8b7872f7c810deef28fcfb1 Mon Sep 17 00:00:00 2001 From: Wesley Ray Date: Wed, 22 Jul 2026 11:17:08 -0400 Subject: [PATCH] Wider map label clamp (black diamond was still clipping) Co-Authored-By: Claude Fable 5 --- src/layouts/Base.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 69c38a7..9d30bfb 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -378,7 +378,7 @@ const pageUrl = new URL(Astro.url.pathname, Astro.site); .sort((a, b) => a.lon - b.lon); top.forEach((r, i) => { const t = document.createElementNS(NS, 'text'); - t.setAttribute('x', String(Math.min(594, Math.max(46, px(r.lon))))); + t.setAttribute('x', String(Math.min(560, Math.max(80, px(r.lon))))); t.setAttribute('y', String(py(r.lat) + (i % 2 ? 20 : -11))); t.setAttribute('text-anchor', 'middle'); t.textContent = `${r.name.toLowerCase()} ${Math.round(r.wait_min)}m`;