aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-11-14 20:06:33 +0100
committerGitHub <noreply@github.com>2025-11-14 20:06:33 +0100
commita53080cda003e7821f6cf1f55b73600daf7519e8 (patch)
tree91e7ec7c728e76fc75c67a404e42c8e8abf6683c /src/frontend/app/components
parente076ebb42f42947fa807fe7189a9cde61b510993 (diff)
Fix map markers
Diffstat (limited to 'src/frontend/app/components')
-rw-r--r--src/frontend/app/components/StopMapSheet.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/app/components/StopMapSheet.tsx b/src/frontend/app/components/StopMapSheet.tsx
index a0d30f4..2dc85db 100644
--- a/src/frontend/app/components/StopMapSheet.tsx
+++ b/src/frontend/app/components/StopMapSheet.tsx
@@ -145,7 +145,7 @@ export const StopMap: React.FC<StopMapProps> = ({
height: 14,
background: "#1976d2",
border: "2px solid white",
- borderRadius: "50%",
+ borderRadius: "5%",
boxShadow: "0 0 0 2px rgba(0,0,0,0.2)",
}}
title={`Stop ${stop.stopId}`}
@@ -165,7 +165,6 @@ export const StopMap: React.FC<StopMapProps> = ({
anchor="center"
>
<div
- title={`${c.line} → ${c.route}`}
style={{
display: "flex",
flexDirection: "column",
@@ -187,6 +186,7 @@ export const StopMap: React.FC<StopMapProps> = ({
lineHeight: 1,
border: "1px solid #fff",
boxShadow: "0 1px 2px rgba(0,0,0,0.3)",
+ transform: `rotate(${-p.orientationDegrees}deg)`,
}}
>
{c.line}