ui: remove imperial units, hide Replay button on mobile

- formatDistance/formatSpeed: km/km/h only, no mi/mph
- Replay button hidden on mobile (d-none d-sm-table-cell)
- Action column header hidden on mobile to match
- data_table macro supports optional 'class' on column headers

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Mathieu Moran
2026-08-10 02:38:50 -04:00
co-authored by Copilot
parent 908e86d169
commit f27e2f2d4b
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
{"key": "duration", "label": "Time", "sortable": true},
{"key": "maxSpeed", "label": "Max", "sortable": true},
{"key": "odometer", "label": "Odometer", "sortable": false},
{"key": "action", "label": "", "sortable": false}
{"key": "action", "label": "", "sortable": false, "class": "d-none d-sm-table-cell"}
],
"No trips detected",
"Trip history appears after sustained GPS or OBD movement is recorded."