From 439736e9041f6f3f6dd2d88b8b882f5cc353f84e Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 15 Nov 2026 12:51:20 +0100 Subject: [PATCH] fix(packing): stack the item window and the Lists menu on the app's layers The item window sits on the layer of the other floating menus and the Lists menu just above the bars, through the z-index tokens instead of numbers, and the theme baseline follows the files the redesign left with fewer literals. --- client/scripts/theme-baseline.json | 9 ++++----- client/src/components/Packing/PackingItemDetail.tsx | 4 ++-- client/src/components/Packing/PackingListsMenu.tsx | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/client/scripts/theme-baseline.json b/client/scripts/theme-baseline.json index 23a345d8a..fe60408e7 100644 --- a/client/scripts/theme-baseline.json +++ b/client/scripts/theme-baseline.json @@ -75,8 +75,7 @@ "components/PDF/TripPDF.tsx": 44, "components/Packing/PackingListPanelBagModal.tsx": 2, "components/Packing/PackingListPanelCategoryGroup.tsx": 5, - "components/Packing/PackingListPanelHeader.tsx": 5, - "components/Packing/PackingListPanelItemRow.tsx": 2, + "components/Packing/PackingListPanelHeader.tsx": 3, "components/Packing/packingPrintDocument.ts": 24, "components/Planner/AirTrailImportModal.tsx": 4, "components/Planner/BookingCostsSection.tsx": 1, @@ -269,12 +268,12 @@ "mobile/screens/trip/tabs/MFileMenuSheet.tsx": 1, "mobile/screens/trip/tabs/MFileTrashSheet.tsx": 4, "mobile/screens/trip/tabs/MFilesTab.tsx": 12, - "mobile/screens/trip/tabs/MPackItemSheet.tsx": 7, + "mobile/screens/trip/tabs/MPackItemSheet.tsx": 1, "mobile/screens/trip/tabs/MPackingImportSheet.tsx": 3, - "mobile/screens/trip/tabs/MPackingListTab.tsx": 32, + "mobile/screens/trip/tabs/MPackingListTab.tsx": 2, "mobile/screens/trip/tabs/MReservationCardParts.tsx": 6, "mobile/screens/trip/tabs/MTaskSheet.tsx": 6, - "mobile/screens/trip/tabs/MTodoListTab.tsx": 15, + "mobile/screens/trip/tabs/MTodoListTab.tsx": 3, "mobile/screens/trip/tabs/MTransportsTab.tsx": 2, "mobile/screens/trip/tabs/filesModel.ts": 5, "mobile/screens/trip/tabs/tabChrome.tsx": 12, diff --git a/client/src/components/Packing/PackingItemDetail.tsx b/client/src/components/Packing/PackingItemDetail.tsx index c87d6c102..b1dacd6f8 100644 --- a/client/src/components/Packing/PackingItemDetail.tsx +++ b/client/src/components/Packing/PackingItemDetail.tsx @@ -544,11 +544,11 @@ export function PackingItemDetail(props: Readonly) { return createPortal( <> -
+
{ if (e.key === 'Escape') { e.stopPropagation(); diff --git a/client/src/components/Packing/PackingListsMenu.tsx b/client/src/components/Packing/PackingListsMenu.tsx index 1cd018f09..5530959a0 100644 --- a/client/src/components/Packing/PackingListsMenu.tsx +++ b/client/src/components/Packing/PackingListsMenu.tsx @@ -77,11 +77,11 @@ export default function PackingListsMenu(props: Readonly) > - {open &&
} + {open &&
}