From 4056bc1b66db722bfcffaa960f8ff89150971a4d Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 8 Mar 2026 23:23:18 +0100 Subject: Refactor styles in StopSummarySheet and ReducedArrivalCard components; update translations in es-ES.json --- .../app/components/map/StopSummarySheet.tsx | 32 ++++++++++------------ 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'src/frontend/app/components/map/StopSummarySheet.tsx') diff --git a/src/frontend/app/components/map/StopSummarySheet.tsx b/src/frontend/app/components/map/StopSummarySheet.tsx index be2df67..1ce6bdb 100644 --- a/src/frontend/app/components/map/StopSummarySheet.tsx +++ b/src/frontend/app/components/map/StopSummarySheet.tsx @@ -1,4 +1,3 @@ -import { RefreshCw } from "lucide-react"; import React from "react"; import { useTranslation } from "react-i18next"; import { Sheet } from "react-modal-sheet"; @@ -46,9 +45,20 @@ export const StopSummarySheet: React.FC = ({
-
-

{stop.name}

- ({stop.stopCode}) +
+

+ {stop.name} +

+
+ + {stop.stopId.split(":")[0]} + + + {stop.stopCode?.split(":")[1] || + stop.stopId.split(":")[1] || + stop.stopId} + +
@@ -84,7 +94,7 @@ export const StopSummarySheet: React.FC = ({ ) : data ? ( <>
-

+

{t("estimates.next_arrivals", "Next arrivals")}

@@ -114,18 +124,6 @@ export const StopSummarySheet: React.FC = ({ )}
- -