From a6ec0e52ecb33915cc4c4b22df1d2512ab9b0111 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Nov 2025 19:44:50 +0100 Subject: PWA: use standalone display mode and disable scroll on modal sheets (#82) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: arielcostas <94913521+arielcostas@users.noreply.github.com> --- src/frontend/app/components/NavBar.tsx | 8 ++-- src/frontend/app/components/StopAlert.css | 1 - src/frontend/app/components/StopAlert.tsx | 8 +++- src/frontend/app/components/StopItemSkeleton.tsx | 51 +++++++++++----------- src/frontend/app/components/StopSheet.css | 4 ++ src/frontend/app/components/StopSheet.tsx | 13 +++--- src/frontend/app/components/StopSheetSkeleton.tsx | 18 +++++--- .../Stops/ConsolidatedCirculationList.tsx | 27 +++++++----- src/frontend/app/components/TimetableSkeleton.tsx | 5 ++- src/frontend/app/data/StopDataProvider.ts | 2 +- src/frontend/app/routes/estimates-$id.tsx | 4 +- src/frontend/app/routes/map.tsx | 2 +- src/frontend/app/routes/settings.tsx | 11 ++++- src/frontend/app/routes/stops-$id.tsx | 40 +++++++++++------ src/frontend/app/routes/timetable-$id.tsx | 35 +++++++++------ 15 files changed, 139 insertions(+), 90 deletions(-) (limited to 'src/frontend/app') diff --git a/src/frontend/app/components/NavBar.tsx b/src/frontend/app/components/NavBar.tsx index bb73d58..f9f1a03 100644 --- a/src/frontend/app/components/NavBar.tsx +++ b/src/frontend/app/components/NavBar.tsx @@ -28,7 +28,7 @@ export default function NavBar() { name: t("navbar.stops", "Paradas"), icon: MapPin, path: "/", - exact: true + exact: true, }, { name: t("navbar.map", "Mapa"), @@ -66,9 +66,9 @@ export default function NavBar() {