diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-14 20:06:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-14 20:06:33 +0100 |
| commit | a53080cda003e7821f6cf1f55b73600daf7519e8 (patch) | |
| tree | 91e7ec7c728e76fc75c67a404e42c8e8abf6683c /src/frontend/app/components | |
| parent | e076ebb42f42947fa807fe7189a9cde61b510993 (diff) | |
Fix map markers
Diffstat (limited to 'src/frontend/app/components')
| -rw-r--r-- | src/frontend/app/components/StopMapSheet.tsx | 4 |
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} |
