Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

pass leftWidth/rightWidth from TripPlannerPage to DayDetailPanel

Gérnyi Márkd90a059dfa71
diff --git a/client/src/pages/TripPlannerPage.tsx b/client/src/pages/TripPlannerPage.tsx
index de659f8cb..6a9c4d73e 100644
--- a/client/src/pages/TripPlannerPage.tsx
+++ b/client/src/pages/TripPlannerPage.tsx
@@ -542,6 +542,8 @@ export default function TripPlannerPage(): React.ReactElement | null {
lng={geoPlace?.lng}
onClose={() => setShowDayDetail(null)}
onAccommodationChange={loadAccommodations}
+ leftWidth={leftCollapsed ? 0 : leftWidth}
+ rightWidth={rightCollapsed ? 0 : rightWidth}
/>
)
})()}