diff --git a/client/src/components/Planner/PlacesSidebar.tsx b/client/src/components/Planner/PlacesSidebar.tsx index d9534bd3..c65f35e6 100644 --- a/client/src/components/Planner/PlacesSidebar.tsx +++ b/client/src/components/Planner/PlacesSidebar.tsx @@ -380,7 +380,7 @@ const PlacesSidebar = React.memo(function PlacesSidebar({ >
e.stopPropagation()} - style={{ background: 'var(--bg-card)', borderRadius: '20px 20px 0 0', width: '100%', maxWidth: 500, maxHeight: '70vh', display: 'flex', flexDirection: 'column', overflow: 'hidden', paddingBottom: 'env(safe-area-inset-bottom)' }} + style={{ background: 'var(--bg-card)', borderRadius: '20px 20px 0 0', width: '100%', maxWidth: 500, maxHeight: '70vh', display: 'flex', flexDirection: 'column', overflow: 'hidden', paddingBottom: 'var(--bottom-nav-h)' }} >
{dayPickerPlace.name}
diff --git a/client/src/components/shared/Modal.tsx b/client/src/components/shared/Modal.tsx index 470ce316..de34ea27 100644 --- a/client/src/components/shared/Modal.tsx +++ b/client/src/components/shared/Modal.tsx @@ -50,7 +50,7 @@ export default function Modal({ return (
{ mouseDownTarget.current = e.target }} onClick={e => { diff --git a/client/src/index.css b/client/src/index.css index 711bbb8b..4da5dac2 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -141,6 +141,7 @@ html.dark .bg-slate-50\/60, html.dark [class*="bg-slate-50/"] { background-color :root { --safe-top: env(safe-area-inset-top, 0px); --nav-h: 0px; + --bottom-nav-h: 0px; --font-system: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; --sp-1: 4px; --sp-2: 8px; @@ -193,6 +194,10 @@ html.dark .bg-slate-50\/60, html.dark [class*="bg-slate-50/"] { background-color --mood-rough: #9B8EC4; } +@media (max-width: 767px) { + :root { --bottom-nav-h: calc(84px + env(safe-area-inset-bottom, 0px)); } +} + @media (min-width: 768px) { :root { --nav-h: calc(56px + env(safe-area-inset-top, 0px)); } } diff --git a/client/src/pages/JourneyDetailPage.tsx b/client/src/pages/JourneyDetailPage.tsx index bd5fb10d..9105a554 100644 --- a/client/src/pages/JourneyDetailPage.tsx +++ b/client/src/pages/JourneyDetailPage.tsx @@ -2739,7 +2739,7 @@ function JourneySettingsDialog({ journey, onClose, onSaved, onOpenInvite }: { return (
{ if (e.target === e.currentTarget) e.preventDefault() }}> -
e.stopPropagation()}> +
e.stopPropagation()}>

{t('journey.settings.title')}

diff --git a/client/src/pages/TripPlannerPage.tsx b/client/src/pages/TripPlannerPage.tsx index d893e308..703c9f93 100644 --- a/client/src/pages/TripPlannerPage.tsx +++ b/client/src/pages/TripPlannerPage.tsx @@ -906,7 +906,7 @@ export default function TripPlannerPage(): React.ReactElement | null { )} {activeTab === 'buchungen' && ( -
+
+
)} {activeTab === 'finanzplan' && ( -
+
)}