fix(cockpit): centre the phone Display/Radio row above the flight readouts

On phones (<=760 px) the collapsed Display/Radio launcher row was
right-anchored at bottom: 152px, off the Reset/Exit axis and on top of
the ground speed and altitude readouts. Centre it and anchor it above
the compass block through a shared --cockpit-compass-bottom variable;
only the launchers take pointer input. Cyber's top row is centred too.
This commit is contained in:
Denis Groshev committed 2026-11-04 16:25:38 +01:00
1 parent 4859ba4c94
commit 5738cdc45c
5 files changed
+83 -5

No files matched your search

+6 -1
View File
@@ -3255,7 +3255,12 @@ down | auth-failed` (plus the unchanged `missing-key`/`unsupported`) with
> stacking. Narrow mobile Cockpit
> viewports suppress the legacy layer stack, peripheral HUD, and secondary
> Context/briefing panes so the flight instruments and primary controls remain
> unobstructed. Outside Cockpit, Radio starts collapsed while off and lives
> unobstructed. There the collapsed Display and Radio launchers form one row
> centred on the Reset/Exit axis; the default theme anchors it above the
> compass block, clear of the ground speed and altitude telemetry it used to
> cover, while Cyber keeps the row at the top. `scripts/qa-cockpit-utility.mjs`
> checks the default row's centring and clearance at 390 and 360 px. Outside
> Cockpit, Radio starts collapsed while off and lives
> only in its section inside Context; the detailed panel's normal accordion
> control owns its disclosure and its Enable/Disable action owns power.
> Radio volume in the full and Cockpit surfaces, plus Space Mission