From c945a71f452e580eedbf1a8c69d31f2b0906cd45 Mon Sep 17 00:00:00 2001 From: Nico Date: Thu, 4 Jun 2026 03:55:53 -0700 Subject: [PATCH] fix: stabilize mobile map toolbar widths --- .../components/maps/LocationMapToolbar.jsx | 101 +++++++++--------- .../src/styles/pages/LocationMapManager.css | 30 ++++-- frontend/tests/location-map-manager.spec.ts | 13 ++- 3 files changed, 84 insertions(+), 60 deletions(-) diff --git a/frontend/src/components/maps/LocationMapToolbar.jsx b/frontend/src/components/maps/LocationMapToolbar.jsx index 61b2986..12e5397 100644 --- a/frontend/src/components/maps/LocationMapToolbar.jsx +++ b/frontend/src/components/maps/LocationMapToolbar.jsx @@ -24,7 +24,10 @@ export default function LocationMapToolbar({ const showHistoryControls = mode === "edit" && showHistorySlot; return ( -
+
- {showHistorySlot ? ( -
- - -
- ) : null} - {mode === "edit" && canManage ? ( -
- - -
- ) : null}
+ {showHistorySlot ? ( +
+ + +
+ ) : null} + {mode === "edit" && canManage ? ( +
+ + +
+ ) : null}