fix: green checks after the first-screen redesign and the safe-area floor

- native-shell/amount.ts: the no-break spaces in the price pattern were
  written out as characters; \s already matches them.
- widgets.ts: the Live Activity's lead time stays inside the module.
- i18n: the count strings of the new plan tiles replace the removed ones
  on NOT_PLURAL, and the address placeholders of the non-Latin locales
  are their own instead of English copies.
- mobile.css: the side safe-area margins of the floating bars use
  margin-inline, swapped for right to left, instead of physical sides.
This commit is contained in:
Maurice
2026-11-12 14:36:13 +01:00
parent 9005d6b333
commit fc648bc7e4
11 changed files with 33 additions and 27 deletions
+8 -5
View File
@@ -578,12 +578,15 @@ html[dir='rtl']:has(.m-shell[data-size='wide'], .m-shell[data-size='split']) .m-
inset-inline-end: 0;
}
/* Without the rail the floating bars keep clear of the sides' safe area too:
a camera in a corner can come as a side inset. Physical sides, as the
insets are the screen's, not the text direction's. On a wide window the
rail takes the leading side and a bar may centre itself (mx-auto). */
a camera in a corner can come as a side inset. The insets are the screen's,
not the text direction's, so right to left takes them the other way round.
On a wide window the rail takes the leading side and a bar may centre itself
(mx-auto). */
html:not(:has(.m-shell[data-size='wide'], .m-shell[data-size='split'])) :is(.m-bar-x, .m-span-x) {
margin-left: var(--m-safe-l, 0px);
margin-right: var(--m-safe-r, 0px);
margin-inline: var(--m-safe-l, 0px) var(--m-safe-r, 0px);
}
html[dir='rtl']:not(:has(.m-shell[data-size='wide'], .m-shell[data-size='split'])) :is(.m-bar-x, .m-span-x) {
margin-inline: var(--m-safe-r, 0px) var(--m-safe-l, 0px);
}
/* A screen whose background is a map reaches under the rail: the map runs to
the window's edge and the rail floats over it like the top controls do. Its
+1 -1
View File
@@ -358,7 +358,7 @@ export function tripDayState(day: TripDay, nowMinutes: number, allDone: string):
}
/** How long before the day's first timed stop its Live Activity appears. */
export const LIVE_LEAD_MINUTES = 3 * 60;
const LIVE_LEAD_MINUTES = 3 * 60;
/**
* Whether the travel day's Live Activity belongs on the lock screen now: from