From ccea7f7a6556c0e3b1cbe6e813b0d9954755fd26 Mon Sep 17 00:00:00 2001 From: jubnl Date: Wed, 22 Apr 2026 17:05:15 +0200 Subject: [PATCH] fix: restore map share toggle and fix public journey horizontal scroll Re-adds the share_map permission toggle to the journey share settings UI so owners can control whether the map is visible on the public share page. Fixes horizontal scrollbar on the public journey page caused by decorative hero circles with negative offsets overflowing the viewport. --- client/src/pages/JourneyDetailPage.tsx | 1 + client/src/pages/JourneyPublicPage.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/pages/JourneyDetailPage.tsx b/client/src/pages/JourneyDetailPage.tsx index 1e22e62e..e7aa51f9 100644 --- a/client/src/pages/JourneyDetailPage.tsx +++ b/client/src/pages/JourneyDetailPage.tsx @@ -2941,6 +2941,7 @@ function JourneyShareSection({ journeyId }: { journeyId: number }) { {[ { key: 'share_timeline' as const, label: t('journey.share.timeline'), icon: List }, { key: 'share_gallery' as const, label: t('journey.share.gallery'), icon: Grid }, + { key: 'share_map' as const, label: t('journey.share.map'), icon: MapPin }, ].map(({ key, label, icon: Icon }) => (