From 284e625fd54570939945de1b3b9a2ab0c239448e Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 1 Dec 2025 22:42:06 +0100 Subject: fix: adjust width of LineIcon container and improve marquee display logic --- .../components/Stops/ConsolidatedCirculationCard.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx b/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx index 8f43939..8a2eb94 100644 --- a/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx +++ b/src/frontend/app/components/Stops/ConsolidatedCirculationCard.tsx @@ -194,7 +194,7 @@ export const ConsolidatedCirculationCard: React.FC< `.trim()} {...interactiveProps} > -
+
@@ -273,13 +273,16 @@ export const ConsolidatedCirculationCard: React.FC<
{estimate.route} - {estimate.nextStreets && estimate.nextStreets.length > 0 && ( - -
- {estimate.nextStreets.join(" — ")} -
-
- )} + {estimate.nextStreets && estimate.nextStreets.length > 0 && (() => { + const text = estimate.nextStreets.join(" — "); + return ( + 30}> +
+ {text} +
+
+ ); + })()}
{hasGpsPosition && (
-- cgit v1.3