diff --git a/static/yaris.css b/static/yaris.css index cfa41cd..34cb4af 100644 --- a/static/yaris.css +++ b/static/yaris.css @@ -211,11 +211,17 @@ body { /* ── Maps ────────────────────────────────────────────────────────────────── */ -#map { height: 20rem; } +#map { + height: 18rem; +} #history-map { - height: 36rem; - min-height: 24rem; + height: 32rem; + min-height: 20rem; +} + +@media (max-width: 767.98px) { + #history-map { height: 22rem; } } /* ── Alert dropdown ──────────────────────────────────────────────────────── */ @@ -286,6 +292,19 @@ body { opacity: .2; } +/* Shrink long values (e.g. "Disconnected") so they don't wrap */ +.obd-val { + font-size: 1rem; + line-height: 1.2; + word-break: break-word; +} + +/* ── Collapsible chevron ──────────────────────────────────────────────────── */ + +.collapse-chevron { + transition: transform .2s ease; +} + /* ── Misc ────────────────────────────────────────────────────────────────── */ .border-start-primary { border-left: .25rem solid var(--primary) !important; } diff --git a/templates/dash.html b/templates/dash.html index 51af7ee..0d0c116 100644 --- a/templates/dash.html +++ b/templates/dash.html @@ -4,102 +4,129 @@ {% block title %}Dashcam - Yaris OBD{% endblock %} {% block content %} -
Detected device
-Checking for a USB dashcam...
- - -Files on dashcam
- Scanning... -Import results
-No import has been run yet.
-Video player
- -Imported videos on Pi
- Loading... -Review recorded drives and replay their routes offline.
-Configuration stored locally on this Pi.
+Stored locally on this Pi.