Give only the desktop cockpit the rail look, placed by the layout pass

Cyber and the phone keep their own cockpit layouts. Display and Radio take
their top from the layout pass, whose floor now matches the left rail, so the
panel's height still stops short of the briefing. The rail keeps its physical
side in a right-to-left language, the Live Signals rows use logical sides,
and rules for the launchers' old strips, which the rail hides, are gone.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-14 15:51:13 -08:00
1 parent d157198ecb
commit 0c295ea770
2 files changed
+136 -327

No files matched your search

+4 -2
View File
@@ -27,9 +27,11 @@ export const COCKPIT_UTILITY_REC_GAP_PX = 12;
export const COCKPIT_UTILITY_SIGNAL_GAP_PX = 8;
export const COCKPIT_UTILITY_MIN_TOP_PX = 96;
// Display and Radio start where the left rail does (max(206px, 22vh) in
// cockpit-panels.css), so the two rails' tops line up.
export const COCKPIT_UTILITY_MIN_TOP_PX = 206;
export const COCKPIT_UTILITY_MIN_TOP_RATIO = 0.12;
export const COCKPIT_UTILITY_MIN_TOP_RATIO = 0.22;
export const COCKPIT_UTILITY_LAUNCHER_MIN_HEIGHT_PX = 50;