Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

[issue-1852] fix dynamic-viewport clipping on mobile

[._.]/ Adam Eivyae734c0439dd
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index 5a4782a19b..ef8fa1ca9f 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -894,7 +894,7 @@ export default function Layout() {
{/* Sidebar */}
<aside
className={`
- fixed inset-y-0 left-0 z-50 h-screen print:hidden
+ fixed inset-y-0 left-0 z-50 h-screen h-[100dvh] print:hidden
flex flex-col bg-port-card border-r border-port-border
transition-all duration-300 ease-in-out
${mobileOpen ? 'translate-x-0' : '-translate-x-full lg:translate-x-0'}
diff --git a/client/src/components/brain/tabs/InboxTab.jsx b/client/src/components/brain/tabs/InboxTab.jsx
index 0f01be9275..c7cedfc7f3 100644
--- a/client/src/components/brain/tabs/InboxTab.jsx
+++ b/client/src/components/brain/tabs/InboxTab.jsx
@@ -347,7 +347,7 @@ export default function InboxTab({ onRefresh, settings }) {
Capped to the viewport and given its own scroll on xl+ so a long
Needs-Review queue stays reachable instead of growing past the fold
(the very problem #1173 set out to fix). */}
- <div className="flex flex-col gap-4 xl:col-start-2 xl:row-start-2 xl:sticky xl:top-0 xl:self-start xl:max-h-[calc(100vh-7rem)] xl:overflow-y-auto">
+ <div className="flex flex-col gap-4 xl:col-start-2 xl:row-start-2 xl:sticky xl:top-0 xl:self-start xl:max-h-[calc(100dvh-7rem)] xl:overflow-y-auto">
{/* Overview stats — desktop rail only (counts also live in the page header) */}
<div className="hidden xl:block p-3 bg-port-card border border-port-border rounded-lg">
<div className="flex items-center justify-between mb-3">
diff --git a/client/src/components/wiki/tabs/BrowseTab.jsx b/client/src/components/wiki/tabs/BrowseTab.jsx
index bc6cb4b831..d428d1649c 100644
--- a/client/src/components/wiki/tabs/BrowseTab.jsx
+++ b/client/src/components/wiki/tabs/BrowseTab.jsx
@@ -95,7 +95,7 @@ export default function BrowseTab({ vaultId, notes, rawNotes, allNotes, onRefres
: [];
return (
- <div className="flex -m-4" style={{ height: 'calc(100vh - 220px)' }}>
+ <div className="flex -m-4" style={{ height: 'calc(100dvh - 220px)' }}>
{/* Left panel */}
<div className="w-80 border-r border-port-border flex flex-col shrink-0">
{/* Section toggle */}
diff --git a/client/src/components/wiki/tabs/GraphTab.jsx b/client/src/components/wiki/tabs/GraphTab.jsx
index ff797def54..25a5313eab 100644
--- a/client/src/components/wiki/tabs/GraphTab.jsx
+++ b/client/src/components/wiki/tabs/GraphTab.jsx
@@ -198,7 +198,7 @@ export default function GraphTab({ vaultId }) {
}
return (
- <div className="relative -m-4" style={{ height: 'calc(100vh - 220px)' }}>
+ <div className="relative -m-4" style={{ height: 'calc(100dvh - 220px)' }}>
{/* Controls */}
<div className="absolute top-4 right-4 z-10 flex items-center gap-2">
<span className="text-xs text-gray-500">{graphData.totalNodes} nodes, {graphData.totalEdges} edges</span>
diff --git a/client/src/components/writers-room/WritersRoomDock.jsx b/client/src/components/writers-room/WritersRoomDock.jsx
index b8ea2aee08..88da7dae5e 100644
--- a/client/src/components/writers-room/WritersRoomDock.jsx
+++ b/client/src/components/writers-room/WritersRoomDock.jsx
@@ -27,7 +27,7 @@ export default function WritersRoomDock({
return (
<section
aria-label="Image render queue"
- className="fixed bottom-0 left-0 right-0 z-30 border-t border-port-border bg-port-card/95 backdrop-blur-sm shadow-[0_-4px_18px_-8px_rgba(0,0,0,0.6)]"
+ className="fixed bottom-0 left-0 right-0 z-30 border-t border-port-border bg-port-card/95 backdrop-blur-sm shadow-[0_-4px_18px_-8px_rgba(0,0,0,0.6)] pb-[env(safe-area-inset-bottom)]"
>
<div className="flex items-center gap-3 px-3 py-2 max-w-7xl mx-auto">
<div className="flex items-center gap-2 shrink-0">
diff --git a/client/src/pages/JiraReports.jsx b/client/src/pages/JiraReports.jsx
index 8f69e2c211..9567af35cc 100644
--- a/client/src/pages/JiraReports.jsx
+++ b/client/src/pages/JiraReports.jsx
@@ -224,7 +224,7 @@ export default function JiraReports() {
</div>
) : (
<div className="grid grid-cols-1 lg:grid-cols-3 gap-4">
- <div className="space-y-2 lg:col-span-1 max-h-[calc(100vh-160px)] overflow-y-auto pr-1">
+ <div className="space-y-2 lg:col-span-1 max-h-[calc(100dvh-160px)] overflow-y-auto pr-1">
{filteredReports.map(r => (
<ReportCard
key={`${r.appId}-${r.date}`}
@@ -234,7 +234,7 @@ export default function JiraReports() {
/>
))}
</div>
- <div className="lg:col-span-2 bg-port-bg border border-port-border rounded-lg p-4 max-h-[calc(100vh-160px)] overflow-y-auto">
+ <div className="lg:col-span-2 bg-port-bg border border-port-border rounded-lg p-4 max-h-[calc(100dvh-160px)] overflow-y-auto">
<ReportDetail report={selectedReport} />
</div>
</div>