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.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(mobile): account for bottom navbar in overlays and improve system notices UX
jubnlfef12b0e8b5a
diff --git a/client/src/components/Files/FileManager.tsx b/client/src/components/Files/FileManager.tsxindex 6092806a1..b70a52e7a 100644--- a/client/src/components/Files/FileManager.tsx+++ b/client/src/components/Files/FileManager.tsx@@ -94,7 +94,7 @@ function ImageLightbox({ files, initialIndex, onClose }: ImageLightboxProps) {return (<div- style={{ position: 'fixed', inset: 0, background: 'rgba(0,0,0,0.92)', zIndex: 2000, display: 'flex', flexDirection: 'column' }}+ style={{ position: 'fixed', inset: 0, background: 'rgba(0,0,0,0.92)', zIndex: 2000, display: 'flex', flexDirection: 'column', paddingBottom: 'var(--bottom-nav-h)' }}onClick={onClose}onTouchStart={e => setTouchStart(e.touches[0].clientX)}onTouchEnd={e => {diff --git a/client/src/components/Journey/PhotoLightbox.tsx b/client/src/components/Journey/PhotoLightbox.tsxindex e3096ee11..f8e799a2b 100644--- a/client/src/components/Journey/PhotoLightbox.tsx+++ b/client/src/components/Journey/PhotoLightbox.tsx@@ -69,6 +69,7 @@ export default function PhotoLightbox({ photos, startIndex = 0, onClose }: Propsposition: 'fixed', inset: 0, zIndex: 500,background: 'rgba(0,0,0,0.92)', backdropFilter: 'blur(20px)',display: 'flex', flexDirection: 'column',+ paddingBottom: 'var(--bottom-nav-h)',}}onTouchStart={onTouchStart}onTouchEnd={onTouchEnd}diff --git a/client/src/components/Packing/PackingListPanel.tsx b/client/src/components/Packing/PackingListPanel.tsxindex d5745476b..14cbced9d 100644--- a/client/src/components/Packing/PackingListPanel.tsx+++ b/client/src/components/Packing/PackingListPanel.tsx@@ -1268,7 +1268,7 @@ export default function PackingListPanel({ tripId, items }: PackingListPanelProp{/* ── Bag Modal (mobile + click) ── */}{showBagModal && bagTrackingEnabled && (- <div style={{ position: 'fixed', inset: 0, zIndex: 100, background: 'rgba(0,0,0,0.3)', display: 'flex', alignItems: 'flex-start', justifyContent: 'center', padding: 20, paddingTop: 140, overflowY: 'auto' }}+ <div style={{ position: 'fixed', inset: 0, zIndex: 100, background: 'rgba(0,0,0,0.3)', display: 'flex', alignItems: 'flex-start', justifyContent: 'center', padding: 20, paddingTop: 140, paddingBottom: 'calc(20px + var(--bottom-nav-h))', overflowY: 'auto' }}onClick={() => setShowBagModal(false)}><div style={{ background: 'var(--bg-card)', borderRadius: 16, width: '100%', maxWidth: 360, maxHeight: 'calc(100vh - 80px)', overflow: 'auto', padding: 20, boxShadow: '0 16px 48px rgba(0,0,0,0.15)', flexShrink: 0 }}onClick={e => e.stopPropagation()}>diff --git a/client/src/components/Photos/PhotoLightbox.tsx b/client/src/components/Photos/PhotoLightbox.tsxindex ba6a57380..bb90170a7 100644--- a/client/src/components/Photos/PhotoLightbox.tsx+++ b/client/src/components/Photos/PhotoLightbox.tsx@@ -79,6 +79,7 @@ export function PhotoLightbox({ photos, initialIndex, onClose, onUpdate, onDeletreturn (<divclassName="fixed inset-0 z-50 bg-black/95 flex items-center justify-center"+ style={{ paddingBottom: 'var(--bottom-nav-h)' }}onClick={onClose}>{/* Main area */}diff --git a/client/src/components/SystemNotices/SystemNoticeModal.tsx b/client/src/components/SystemNotices/SystemNoticeModal.tsxindex 10d0a13f8..6b9e23a27 100644--- a/client/src/components/SystemNotices/SystemNoticeModal.tsx+++ b/client/src/components/SystemNotices/SystemNoticeModal.tsx@@ -1,4 +1,5 @@-import React, { useState, useEffect, useRef } from 'react';+import React, { useState, useEffect, useLayoutEffect, useRef } from 'react';+import { flushSync } from 'react-dom';import { useNavigate } from 'react-router-dom';import { Info, AlertTriangle, AlertOctagon, X, ChevronLeft, ChevronRight } from 'lucide-react';import * as LucideIcons from 'lucide-react';@@ -69,7 +70,7 @@ function NoticeContent({ notice, title, body, ctaLabel, titleId, bodyId, isDark,: DefaultIcon;return (- <div className="flex flex-col relative">+ <div className="flex flex-col relative flex-1">{/* Dismiss X button */}{notice.dismissible && (<button@@ -98,7 +99,7 @@ function NoticeContent({ notice, title, body, ctaLabel, titleId, bodyId, isDark,</div>)}- <div className="p-8">+ <div className="px-8 pt-8 pb-0 sm:pb-8 flex flex-col flex-1">{/* Severity icon (when no hero) */}{!notice.media && (<div className={`w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 ${SEVERITY_ACCENT[notice.severity] ?? ''}`}>@@ -179,9 +180,36 @@ function NoticeContent({ notice, title, body, ctaLabel, titleId, bodyId, isDark,</ul>)}+ {/* CTA + dismiss link */}+ <div className="flex flex-col items-center gap-3 mt-auto">+ {ctaLabel ? (+ <button+ id={`notice-cta-${notice.id}`}+ onClick={onCTA}+ className="w-full h-11 rounded-lg bg-blue-600 hover:bg-blue-700 text-white font-medium transition-colors"+ >+ {ctaLabel}+ </button>+ ) : (+ <button+ id={`notice-cta-${notice.id}`}+ onClick={onDismissAll}+ className="w-full h-11 rounded-lg bg-blue-600 hover:bg-blue-700 text-white font-medium transition-colors"+ >+ {t('common.ok')}+ </button>+ )}+ <button+ onClick={notice.dismissible && ctaLabel ? onDismiss : undefined}+ className={`text-sm text-slate-500 dark:text-slate-400 hover:text-slate-700 dark:hover:text-slate-200 transition-colors ${!(notice.dismissible && ctaLabel) ? 'invisible' : ''}`}+ >+ Not now+ </button>+ </div>+{/* Pager — dots, arrows, counter (only when multiple notices) */}{total > 1 && (- <div className="flex flex-col items-center gap-1 mb-4">+ <div className="flex flex-col items-center gap-1 mt-6 mb-0"><div className="flex items-center gap-2"><buttononClick={onPrev}@@ -224,35 +252,6 @@ function NoticeContent({ notice, title, body, ctaLabel, titleId, bodyId, isDark,</span></div>)}-- {/* CTA + dismiss link */}- <div className="flex flex-col items-center gap-3 mt-2">- {ctaLabel ? (- <button- id={`notice-cta-${notice.id}`}- onClick={onCTA}- className="w-full h-11 rounded-lg bg-blue-600 hover:bg-blue-700 text-white font-medium transition-colors"- >- {ctaLabel}- </button>- ) : (- <button- id={`notice-cta-${notice.id}`}- onClick={onDismissAll}- className="w-full h-11 rounded-lg bg-blue-600 hover:bg-blue-700 text-white font-medium transition-colors"- >- {t('common.ok')}- </button>- )}- {notice.dismissible && ctaLabel && (- <button- onClick={onDismiss}- className="text-sm text-slate-500 dark:text-slate-400 hover:text-slate-700 dark:hover:text-slate-200 transition-colors"- >- Not now- </button>- )}- </div></div></div>);@@ -283,7 +282,10 @@ export function ModalRenderer({ notices }: Props) {// Non-dismissible notices lock the pager so users must act before advancing.const canPage = notice?.dismissible !== false;+ const touchStartX = useRef<number | null>(null);const touchStartY = useRef<number | null>(null);+ // 'h' once we classify the gesture as horizontal, 'v' for vertical, null = unclassified+ const dragLockRef = useRef<'h' | 'v' | null>(null);// Keep a ref to the current notice id so dismiss/CTA handlers see the latest valueconst noticeIdRef = useRef<string | null>(null);noticeIdRef.current = notice?.id ?? null;@@ -295,6 +297,13 @@ export function ModalRenderer({ notices }: Props) {// contentWrapperRef: the div wrapping NoticeContent — we animate its transform directly.const isPageNavRef = useRef(false);const slideDirRef = useRef<'left' | 'right'>('right');+ // Mobile drag strip — wraps all 3 slots and is translated to reveal prev/current/next+ const stripRef = useRef<HTMLDivElement>(null);+ // The sheet element itself — animated on vertical drag-to-dismiss+ const sheetRef = useRef<HTMLDivElement>(null);+ // Clip container ref + cached max height — used to pin sheet height to tallest notice+ const clipRef = useRef<HTMLDivElement>(null);+ const maxClipHeightRef = useRef(0);const contentWrapperRef = useRef<HTMLDivElement>(null);// Mobile breakpoint@@ -410,6 +419,19 @@ export function ModalRenderer({ notices }: Props) {return () => { document.body.style.overflow = ''; };}, [visible, notice]);+ // Pin the strip to the tallest notice height seen so far.+ // Setting minHeight on the strip (not the clip) forces align-items:stretch to+ // make every slot exactly that tall, so mt-auto always bottoms out at the same Y.+ useLayoutEffect(() => {+ if (!isMobile) return;+ const el = stripRef.current;+ if (!el) return;+ el.style.minHeight = '';+ const h = el.scrollHeight;+ if (h > maxClipHeightRef.current) maxClipHeightRef.current = h;+ el.style.minHeight = `${maxClipHeightRef.current}px`;+ });+function announceIndex(newIdx: number, total: number) {setPageAnnouncement(t('system_notice.pager.position')@@ -453,6 +475,17 @@ export function ModalRenderer({ notices }: Props) {}}+ function animatedDismissAll() {+ const sheet = sheetRef.current;+ if (!sheet || prefersReducedMotion) { handleDismissAll(); return; }+ sheet.style.transition = 'transform 300ms ease-out';+ sheet.style.transform = 'translateY(110%)';+ sheet.addEventListener('transitionend', function onDone() {+ sheet.removeEventListener('transitionend', onDone);+ handleDismissAll();+ }, { once: true });+ }+// Sets up the content wrapper's start transform SYNCHRONOUSLY (before React// re-renders with the new notice), then flags the grace-delay effect to slide// rather than hide+show.@@ -531,6 +564,38 @@ export function ModalRenderer({ notices }: Props) {? (visible ? 'opacity-100' : 'opacity-0'): (visible ? 'opacity-100 translate-y-0' : 'opacity-100 translate-y-full');+ // Build ContentProps for an adjacent slot so NoticeContent renders correctly+ function buildSlotProps(n: SystemNoticeDTO, slotIdx: number): ContentProps {+ const slotRawBody = t(n.bodyKey);+ const slotBody = n.bodyParams+ ? Object.entries(n.bodyParams).reduce(+ (s, [k, v]) => s.replace(new RegExp(`\\{${k}\\}`, 'g'), v),+ slotRawBody+ )+ : slotRawBody;+ return {+ notice: n,+ title: t(n.titleKey),+ body: slotBody,+ ctaLabel: n.cta ? t(n.cta.labelKey) : null,+ titleId: `notice-title-${n.id}`,+ bodyId: `notice-body-${n.id}`,+ isDark,+ onDismiss: handleDismiss,+ onDismissAll: handleDismissAll,+ onCTA: handleCTA,+ total: notices.length,+ currentPage: slotIdx,+ canPage,+ onPrev: handlePrev,+ onNext: handleNext,+ onGoto: handleGoto,+ };+ }++ const prevNotice = notices[idx - 1] ?? null;+ const nextNotice = notices[idx + 1] ?? null;+return (<div className="fixed inset-0 z-50" role="presentation">{/* Screen-reader page announcements */}@@ -538,30 +603,136 @@ export function ModalRenderer({ notices }: Props) {{/* Backdrop */}<divclassName={`absolute inset-0 bg-slate-950/40 backdrop-blur-[2px] transition-opacity ${dur} ${ease} ${visible ? 'opacity-100' : 'opacity-0'}`}- onClick={notice.dismissible ? handleDismiss : undefined}+ onClick={notice.dismissible ? animatedDismissAll : undefined}/>{/* Bottom sheet */}<div+ ref={sheetRef}role="dialog"aria-modal="true"aria-labelledby={titleId}aria-describedby={bodyId}- className={`absolute bottom-0 left-0 right-0 rounded-t-3xl overflow-hidden max-h-[85dvh] overflow-y-auto bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 shadow-xl transition-all ${dur} ${ease} ${mobileMotion}`}- onTouchStart={e => { touchStartY.current = e.touches[0].clientY; }}- onTouchEnd={e => {- if (touchStartY.current !== null && notice.dismissible) {- const delta = e.changedTouches[0].clientY - touchStartY.current;- if (delta > 80) handleDismiss();+ className={`absolute bottom-0 left-0 right-0 rounded-t-3xl overflow-hidden max-h-[85dvh] overflow-y-auto bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 shadow-xl transition-[opacity,transform] ${dur} ${ease} ${mobileMotion}`}+ style={{ paddingBottom: 'var(--bottom-nav-h)', touchAction: 'pan-y' }}+ onTouchStart={e => {+ touchStartX.current = e.touches[0].clientX;+ touchStartY.current = e.touches[0].clientY;+ dragLockRef.current = null;+ }}+ onTouchMove={e => {+ if (prefersReducedMotion) return;+ const startX = touchStartX.current;+ const startY = touchStartY.current;+ if (startX === null || startY === null) return;+ const dx = e.touches[0].clientX - startX;+ const dy = e.touches[0].clientY - startY;+ // Classify gesture direction on first significant movement+ if (!dragLockRef.current) {+ if (Math.abs(dx) > 8 || Math.abs(dy) > 8)+ dragLockRef.current = Math.abs(dx) >= Math.abs(dy) ? 'h' : 'v';+ return;}+ if (dragLockRef.current === 'h') {+ const strip = stripRef.current;+ if (!strip) return;+ strip.style.transition = 'none';+ // Strip base = -33.333% (center slot visible); dx offsets from there+ strip.style.transform = `translateX(calc(-33.333% + ${dx}px))`;+ } else if (dragLockRef.current === 'v' && notice.dismissible) {+ const sheet = sheetRef.current;+ if (!sheet || dy <= 0) return;+ sheet.style.transition = 'none';+ sheet.style.transform = `translateY(${dy}px)`;+ }+ }}+ onTouchEnd={e => {+ const startX = touchStartX.current;+ const startY = touchStartY.current;+ touchStartX.current = null;touchStartY.current = null;+ const lock = dragLockRef.current;+ dragLockRef.current = null;++ if (lock === 'h') {+ if (startX === null) return;+ const deltaX = e.changedTouches[0].clientX - startX;+ const strip = stripRef.current;+ if (!strip) return;++ const goNext = isRtlLanguage(language) ? deltaX > 50 : deltaX < -50;+ const goPrev = isRtlLanguage(language) ? deltaX < -50 : deltaX > 50;+ const canGoNext = canPage && idx < notices.length - 1;+ const canGoPrev = canPage && idx > 0;++ if ((goNext && canGoNext) || (goPrev && canGoPrev)) {+ // Animate strip to the adjacent slot (-66.666% = next, 0% = prev)+ strip.style.transition = 'transform 200ms ease-out';+ strip.style.transform = goNext ? 'translateX(-66.666%)' : 'translateX(0%)';+ strip.addEventListener('transitionend', function onDone() {+ strip.removeEventListener('transitionend', onDone);+ strip.style.transition = 'none';+ // Render new content into the center slot BEFORE moving the strip,+ // so the browser never paints old content at the center position.+ const newIdx = goNext ? idx + 1 : idx - 1;+ flushSync(() => {+ isPageNavRef.current = true;+ setIdx(newIdx);+ announceIndex(newIdx, notices.length);+ });+ strip.style.transform = 'translateX(-33.333%)';+ }, { once: true });+ } else {+ // Spring back to center+ strip.style.transition = 'transform 300ms cubic-bezier(0.34,1.56,0.64,1)';+ strip.style.transform = 'translateX(-33.333%)';+ strip.addEventListener('transitionend', function onSnap() {+ strip.removeEventListener('transitionend', onSnap);+ strip.style.transition = '';+ strip.style.transform = 'translateX(-33.333%)';+ }, { once: true });+ }+ return;+ }++ // Vertical drag — animated dismiss or spring back+ if (lock === 'v' && startY !== null) {+ const deltaY = e.changedTouches[0].clientY - startY;+ const sheet = sheetRef.current;+ if (deltaY > 80 && notice.dismissible) {+ animatedDismissAll();+ } else if (sheet && deltaY > 0) {+ sheet.style.transition = 'transform 300ms cubic-bezier(0.34,1.56,0.64,1)';+ sheet.style.transform = 'translateY(0)';+ sheet.addEventListener('transitionend', function onSnap() {+ sheet.removeEventListener('transitionend', onSnap);+ sheet.style.transition = '';+ sheet.style.transform = '';+ }, { once: true });+ }+ }}}>{/* Drag handle */}<div className="pt-3 pb-1 flex justify-center"><div className="w-9 h-1 rounded-full bg-slate-300 dark:bg-slate-600" /></div>- <div ref={contentWrapperRef}>- <NoticeContent {...contentProps} />+ {/* Clip container — hides the adjacent slots outside the sheet width */}+ <div style={{ overflow: 'hidden', width: '100%' }}>+ {/* 3-slot strip: [prev][current][next] — starts at -33.333% to show current */}+ <div+ ref={stripRef}+ style={{ display: 'flex', width: '300%', alignItems: 'stretch', transform: 'translateX(-33.333%)' }}+ >+ <div style={{ width: '33.333%', display: 'flex', flexDirection: 'column' }}>+ {prevNotice && <NoticeContent {...buildSlotProps(prevNotice, idx - 1)} />}+ </div>+ <div ref={contentWrapperRef} style={{ width: '33.333%', display: 'flex', flexDirection: 'column' }}>+ <NoticeContent {...contentProps} />+ </div>+ <div style={{ width: '33.333%', display: 'flex', flexDirection: 'column' }}>+ {nextNotice && <NoticeContent {...buildSlotProps(nextNotice, idx + 1)} />}+ </div>+ </div></div></div></div>diff --git a/client/src/components/Todo/TodoListPanel.tsx b/client/src/components/Todo/TodoListPanel.tsxindex 9f8a396f5..2e7155ced 100644--- a/client/src/components/Todo/TodoListPanel.tsx+++ b/client/src/components/Todo/TodoListPanel.tsx@@ -394,7 +394,7 @@ export default function TodoListPanel({ tripId, items }: { tripId: number; items)}{selectedItem && !isAddingNew && isMobile && (<div onClick={e => { if (e.target === e.currentTarget) setSelectedId(null) }}- style={{ position: 'fixed', inset: 0, zIndex: 1000, background: 'rgba(0,0,0,0.4)', display: 'flex', justifyContent: 'center', alignItems: 'flex-end' }}>+ style={{ position: 'fixed', inset: 0, zIndex: 1000, background: 'rgba(0,0,0,0.4)', display: 'flex', justifyContent: 'center', alignItems: 'flex-end', paddingBottom: 'var(--bottom-nav-h)' }}><div style={{ width: '100%', maxHeight: '85vh', borderRadius: '16px 16px 0 0', overflow: 'auto' }}ref={el => { if (el) { const child = el.firstElementChild as HTMLElement; if (child) { child.style.width = '100%'; child.style.borderLeft = 'none'; child.style.borderRadius = '16px 16px 0 0' } } }}><DetailPane@@ -419,7 +419,7 @@ export default function TodoListPanel({ tripId, items }: { tripId: number; items)}{isAddingNew && !selectedItem && isMobile && (<div onClick={e => { if (e.target === e.currentTarget) setIsAddingNew(false) }}- style={{ position: 'fixed', inset: 0, zIndex: 1000, background: 'rgba(0,0,0,0.4)', display: 'flex', justifyContent: 'center', alignItems: 'flex-end' }}>+ style={{ position: 'fixed', inset: 0, zIndex: 1000, background: 'rgba(0,0,0,0.4)', display: 'flex', justifyContent: 'center', alignItems: 'flex-end', paddingBottom: 'var(--bottom-nav-h)' }}><div style={{ width: '100%', maxHeight: '85vh', borderRadius: '16px 16px 0 0', overflow: 'auto' }}ref={el => { if (el) { const child = el.firstElementChild as HTMLElement; if (child) { child.style.width = '100%'; child.style.borderLeft = 'none'; child.style.borderRadius = '16px 16px 0 0' } } }}><NewTaskPanediff --git a/client/src/components/shared/Modal.tsx b/client/src/components/shared/Modal.tsxindex de34ea27c..6c8a7258b 100644--- a/client/src/components/shared/Modal.tsx+++ b/client/src/components/shared/Modal.tsx@@ -51,7 +51,7 @@ export default function Modal({return (<divclassName="fixed inset-0 z-[200] flex items-start sm:items-center justify-center px-4 modal-backdrop"- style={{ backgroundColor: 'rgba(15, 23, 42, 0.5)', paddingTop: 70, paddingBottom: 20, overflow: 'hidden' }}+ style={{ backgroundColor: 'rgba(15, 23, 42, 0.5)', paddingTop: 70, paddingBottom: 'calc(20px + var(--bottom-nav-h))', overflow: 'hidden' }}onMouseDown={e => { mouseDownTarget.current = e.target }}onClick={e => {if (e.target === e.currentTarget && mouseDownTarget.current === e.currentTarget) onClose()diff --git a/client/src/pages/JourneyDetailPage.tsx b/client/src/pages/JourneyDetailPage.tsxindex 1db6de3cb..721bdd6b1 100644--- a/client/src/pages/JourneyDetailPage.tsx+++ b/client/src/pages/JourneyDetailPage.tsx@@ -2030,7 +2030,7 @@ function EntryEditor({ entry, journeyId, tripDates, galleryPhotos, onClose, onSareturn (<div className="fixed inset-0 z-[200] flex items-center justify-center p-5" style={{ background: 'rgba(9,9,11,0.75)' }}>- <div className="bg-white dark:bg-zinc-900 rounded-2xl shadow-[0_20px_40px_rgba(0,0,0,0.2)] max-w-[640px] w-full max-h-[90vh] flex flex-col overflow-hidden">+ <div className="bg-white dark:bg-zinc-900 rounded-2xl shadow-[0_20px_40px_rgba(0,0,0,0.2)] max-w-[640px] w-full max-h-[90vh] flex flex-col overflow-hidden" style={{ paddingBottom: 'var(--bottom-nav-h)' }}><div className="flex items-center justify-between px-6 py-4 border-b border-zinc-200 dark:border-zinc-700"><h2 className="text-[16px] font-bold text-zinc-900 dark:text-white">{entry.id === 0 ? t('journey.detail.newEntry') : t('journey.detail.editEntry')}</h2>diff --git a/client/src/pages/JourneyPage.tsx b/client/src/pages/JourneyPage.tsxindex 564cdddda..1c094eb67 100644--- a/client/src/pages/JourneyPage.tsx+++ b/client/src/pages/JourneyPage.tsx@@ -279,7 +279,7 @@ export default function JourneyPage() {{/* Create Modal */}{showCreate && (<div className="fixed inset-0 z-[200] flex items-center justify-center p-5" style={{ background: 'rgba(9,9,11,0.6)', backdropFilter: 'blur(6px)' }}>- <div className="bg-white dark:bg-zinc-900 rounded-2xl shadow-[0_20px_40px_rgba(0,0,0,0.2)] max-w-[640px] w-full max-h-[90vh] flex flex-col overflow-hidden">+ <div className="bg-white dark:bg-zinc-900 rounded-2xl shadow-[0_20px_40px_rgba(0,0,0,0.2)] max-w-[640px] w-full max-h-[90vh] flex flex-col overflow-hidden" style={{ paddingBottom: 'var(--bottom-nav-h)' }}>{/* Header */}<div className="px-7 pt-6 pb-5 border-b border-zinc-200 dark:border-zinc-700">diff --git a/client/src/pages/TripPlannerPage.tsx b/client/src/pages/TripPlannerPage.tsxindex 0f1523928..5c24201d8 100644--- a/client/src/pages/TripPlannerPage.tsx+++ b/client/src/pages/TripPlannerPage.tsx@@ -838,7 +838,7 @@ export default function TripPlannerPage(): React.ReactElement | null {)}{selectedPlace && isMobile && ReactDOM.createPortal(- <div style={{ position: 'fixed', inset: 0, zIndex: 9999, display: 'flex', alignItems: 'flex-end', justifyContent: 'center', background: 'rgba(0,0,0,0.3)' }} onClick={() => setSelectedPlaceId(null)}>+ <div style={{ position: 'fixed', inset: 0, zIndex: 9999, display: 'flex', alignItems: 'flex-end', justifyContent: 'center', background: 'rgba(0,0,0,0.3)', paddingBottom: 'var(--bottom-nav-h)' }} onClick={() => setSelectedPlaceId(null)}><div style={{ width: '100%', maxHeight: '85vh' }} onClick={e => e.stopPropagation()}><PlaceInspectorplace={selectedPlace}