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): a plugin's page in the phone shell sits below the status bar and above the dock
Maurice768fd6f4395c
diff --git a/client/src/mobile/mobile.css b/client/src/mobile/mobile.cssindex a98d481f8..706ba0a00 100644--- a/client/src/mobile/mobile.css+++ b/client/src/mobile/mobile.css@@ -664,6 +664,15 @@ html:has(.m-shell) {html:has(.m-shell) [data-desktop-navbar] {display: none;}+/* A plugin's page inside the touch shell: below the status bar, above the dock,+ after the rail, and exactly the visible height (100dvh), so the plugin's own+ document is what scrolls instead of the app stretching past the screen. */+html:has(.m-shell) [data-plugin-page] {+ --plugin-page-h: calc(100dvh - var(--bottom-nav-h, 0px));+ box-sizing: border-box;+ padding-top: env(safe-area-inset-top, 0px);+ padding-inline-start: var(--m-rail-w, 0px);+}html:has(.m-shell) .leaflet-control-zoom {display: none !important;}diff --git a/client/src/pages/PluginPage.tsx b/client/src/pages/PluginPage.tsxindex fa68c5aaa..bb45e1f6d 100644--- a/client/src/pages/PluginPage.tsx+++ b/client/src/pages/PluginPage.tsx@@ -28,7 +28,8 @@ export default function PluginPage(): React.ReactElement {return (<PageShell background="var(--bg-secondary)" navOffset="var(--nav-h, 56px)"><HelpAnchor id="settings-plugins" />- <div style={{ height: 'calc(100vh - var(--nav-h, 56px))' }}>+ {/* The phone shell sets --plugin-page-h and its own insets (mobile.css). */}+ <div data-plugin-page style={{ height: 'var(--plugin-page-h, calc(100vh - var(--nav-h, 56px)))' }}><PluginFrame pluginId={pluginId} title={plugin?.name} fill surface="plugin-page" className="w-full h-full" /></div></PageShell>