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/StopSheet.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/frontend/app/components/StopSheet.tsx') diff --git a/src/frontend/app/components/StopSheet.tsx b/src/frontend/app/components/StopSheet.tsx index 2f37519..4bc6f63 100644 --- a/src/frontend/app/components/StopSheet.tsx +++ b/src/frontend/app/components/StopSheet.tsx @@ -129,7 +129,7 @@ export const StopSheet: React.FC = ({ data?.sort((a, b) => a.minutes - b.minutes).slice(0, 4) || []; return ( - + @@ -193,11 +193,12 @@ export const StopSheet: React.FC = ({ {formatTime(estimate.minutes)} - {REGIONS[region].showMeters && estimate.meters >= 0 && ( -
- {formatDistance(estimate.meters)} -
- )} + {REGIONS[region].showMeters && + estimate.meters >= 0 && ( +
+ {formatDistance(estimate.meters)} +
+ )} ))} -- cgit v1.3