From 135dde82b390d25b7a56c0cf9c012bf70b7dd7ad Mon Sep 17 00:00:00 2001 From: Jos Nienhuis <6952249+joszz@users.noreply.github.com> Date: Thu, 26 Nov 2026 08:07:31 +0100 Subject: [PATCH] fix(dashboard): cards stay put when edit mode starts on a phone The edit-mode row of the car diagram and the location map carried a top margin the row outside edit mode does not have, left over from an older edit mode. It used to fold into the title row's own margin, so nothing showed. Since #766 hides that row on a touch phone, every card dropped 24 px the moment a long press started editing. The row is now spaced the same in both modes, and a test compares them. Co-Authored-By: Claude Opus 5.5 --- frontend/src/views/DashboardView.vue | 5 +++-- .../src/views/__tests__/DashboardView.spec.ts | 22 +++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/DashboardView.vue b/frontend/src/views/DashboardView.vue index 9b2e4df7..2a240f1d 100644 --- a/frontend/src/views/DashboardView.vue +++ b/frontend/src/views/DashboardView.vue @@ -270,10 +270,11 @@ onUnmounted(() => {