Drive mode: the Trip menu beside the map instead of over it (like Android Auto's side panel): the map narrower and keeping its buttons, its center (follow, the crosshair, the overview) in what's seen — the car was hidden under the panel before
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-02 18:21:14 +01:00
1 parent 3325ff5d17
commit 7901d75ff1
3 files changed
+18 -23

No files matched your search

+7 -8
View File
@@ -3595,15 +3595,12 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
:root[data-palette] .drive-bar button,
:root[data-palette] .drive-bar__recenter { box-shadow: 0 0 0 1px var(--ui-line), 0 2px 8px rgb(0 0 0 / 0.35); }
/* The driving mode's Trip menu (driving.js): big rows, big actions, on the
right; the crosshair in the middle of what's left of the map. */
/* The driving mode's Trip menu (driving.js): big rows, big actions, beside
the map on the right (the map narrower, its buttons kept, like Android
Auto); the crosshair in the middle of the map. */
.drive-trip {
position: absolute;
top: 12px;
right: 12px;
bottom: 12px;
z-index: 5;
width: min(540px, 48%);
flex: 0 0 min(540px, 45%);
margin: 12px;
display: flex;
flex-direction: column;
border-radius: 14px;
@@ -3656,6 +3653,8 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
.drive-bar button.active { background: var(--accent); }
.drive-crosshair {
position: absolute;
left: 50%;
top: 50%;
z-index: 4;
width: 44px;
height: 44px;