diff options
| author | Copilot <198982749+Copilot@users.noreply.github.com> | 2025-11-07 19:44:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-07 19:44:50 +0100 |
| commit | a6ec0e52ecb33915cc4c4b22df1d2512ab9b0111 (patch) | |
| tree | 68dfd09c9067bb95dc4f7f5c20004dda20bef9ed /src/frontend/app/components/StopAlert.tsx | |
| parent | 6941f4fb37ffa57c2e4631ff6641976d21151e54 (diff) | |
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>
Diffstat (limited to 'src/frontend/app/components/StopAlert.tsx')
| -rw-r--r-- | src/frontend/app/components/StopAlert.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/frontend/app/components/StopAlert.tsx b/src/frontend/app/components/StopAlert.tsx index 1cbbd75..6b8da12 100644 --- a/src/frontend/app/components/StopAlert.tsx +++ b/src/frontend/app/components/StopAlert.tsx @@ -31,11 +31,15 @@ export const StopAlert: React.FC<StopAlertProps> = ({ }, [stop.alert]); return ( - <div className={`stop-alert ${alertType} ${compact ? 'stop-alert-compact' : ''}`}> + <div + className={`stop-alert ${alertType} ${compact ? "stop-alert-compact" : ""}`} + > {alertIcon} <div className="stop-alert-content"> {stop.title && <div className="stop-alert-title">{stop.title}</div>} - {stop.message && <div className="stop-alert-message">{stop.message}</div>} + {stop.message && ( + <div className="stop-alert-message">{stop.message}</div> + )} </div> </div> ); |
