diff --git a/src/features/map/core/components/toolbar.tsx b/src/features/map/core/components/toolbar.tsx index 1ec3da1..ae7b8e9 100644 --- a/src/features/map/core/components/toolbar.tsx +++ b/src/features/map/core/components/toolbar.tsx @@ -47,7 +47,7 @@ export function MapToolbar({ "pointer-events-auto p-1", MAP_CONTROL_RADIUS_CLASS_NAME, MAP_CONTROL_SURFACE_CLASS_NAME, - isVertical ? "flex w-12 flex-col" : "inline-flex", + isVertical ? "flex w-fit flex-col" : "inline-flex", className )} > diff --git a/src/features/map/core/components/zoom.tsx b/src/features/map/core/components/zoom.tsx index 8f0b15d..210afb1 100644 --- a/src/features/map/core/components/zoom.tsx +++ b/src/features/map/core/components/zoom.tsx @@ -86,7 +86,7 @@ export function MapZoom({
{ expect(resolveMobileWorkbenchOverlayLayout(true)).toEqual({ timelineBottom: 12, dockBottom: 68, - mapControlBottom: 120 + mapControlBottom: 126 }); expect(resolveMobileWorkbenchOverlayLayout(false)).toEqual({ timelineBottom: 12, dockBottom: 12, - mapControlBottom: 64 + mapControlBottom: 70 }); }); diff --git a/src/features/workbench/layout/workbench-layout.ts b/src/features/workbench/layout/workbench-layout.ts index 750dc21..2e57b89 100644 --- a/src/features/workbench/layout/workbench-layout.ts +++ b/src/features/workbench/layout/workbench-layout.ts @@ -32,7 +32,7 @@ export const WORKBENCH_LAYOUT = { mobileOverlay: { edgeInset: 12, gap: 8, - dockHeight: 44, + dockHeight: 50, // 40px buttons + 4px padding and 1px border on each side. timelineSummaryHeight: 48 } } as const; diff --git a/src/features/workbench/map-workbench-page.tsx b/src/features/workbench/map-workbench-page.tsx index a3a4d5f..d922564 100644 --- a/src/features/workbench/map-workbench-page.tsx +++ b/src/features/workbench/map-workbench-page.tsx @@ -1624,7 +1624,7 @@ function MapWorkbenchContent({ ) : null}