From ee77f38cdb324cbcf12518490df77fc9e6b89282 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 22:52:02 +0000 Subject: Improve gallery scroll indicators and format code Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com> --- src/frontend/app/routes/map.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/frontend/app/routes/map.tsx') diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx index f705617..d3288e9 100644 --- a/src/frontend/app/routes/map.tsx +++ b/src/frontend/app/routes/map.tsx @@ -145,10 +145,11 @@ export default function StopMap() { zoom: mapState.zoom, }} attributionControl={false} - maxBounds={REGIONS[region].bounds ? [ - REGIONS[region].bounds!.sw, - REGIONS[region].bounds!.ne, - ] : undefined} + maxBounds={ + REGIONS[region].bounds + ? [REGIONS[region].bounds!.sw, REGIONS[region].bounds!.ne] + : undefined + } > @@ -188,12 +189,12 @@ export default function StopMap() { "text-offset": [0, 3], "text-anchor": "center", "text-justify": "center", - "text-size": ["interpolate", ["linear"], ["zoom"], 11, 8, 22, 16] + "text-size": ["interpolate", ["linear"], ["zoom"], 11, 8, 22, 16], }} paint={{ "text-color": `${REGIONS[region].textColour || "#000"}`, "text-halo-color": "#FFF", - "text-halo-width": 1 + "text-halo-width": 1, }} /> -- cgit v1.3