From 439d7da74a577ee586dae46761e1d1e69849067b Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Fri, 7 Nov 2025 10:44:29 +0100 Subject: Refactor StopGallery and StopGalleryItem components for improved layout and item display; update StopList to switch recent and favourite stops display order. --- src/frontend/app/components/StopGalleryItem.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/frontend/app/components/StopGalleryItem.tsx') diff --git a/src/frontend/app/components/StopGalleryItem.tsx b/src/frontend/app/components/StopGalleryItem.tsx index 24d92a2..0af14bc 100644 --- a/src/frontend/app/components/StopGalleryItem.tsx +++ b/src/frontend/app/components/StopGalleryItem.tsx @@ -23,11 +23,11 @@ const StopGalleryItem: React.FC = ({ stop }) => { {StopDataProvider.getDisplayName(region, stop)}
- {stop.lines?.slice(0, 3).map((line) => ( + {stop.lines?.slice(0, 6).map((line) => ( ))} - {stop.lines && stop.lines.length > 3 && ( - +{stop.lines.length - 3} + {stop.lines && stop.lines.length > 5 && ( + +{stop.lines.length - 5} )}
-- cgit v1.3