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

fix(mobile): prevent excess space on right/bottom when zooming out

Adam Eivye5d6e0bcdaf5
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index b6d36d1a28..12505700c9 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -332,7 +332,7 @@ export default function Layout() {
};
return (
- <div className="min-h-screen bg-port-bg flex">
+ <div className="min-h-screen min-h-[100dvh] w-full max-w-full overflow-x-hidden bg-port-bg flex">
{/* Skip to main content link for keyboard users */}
<a
href="#main-content"
@@ -428,7 +428,7 @@ export default function Layout() {
</aside>
{/* Main area */}
- <div className={`flex-1 flex flex-col min-w-0 transition-all duration-300 ${collapsed ? 'lg:ml-16' : 'lg:ml-56'}`}>
+ <div className={`flex-1 flex flex-col min-w-0 max-w-full transition-all duration-300 ${collapsed ? 'lg:ml-16' : 'lg:ml-56'}`}>
{/* Mobile header */}
<header className="lg:hidden flex items-center justify-between px-3 py-2 border-b border-port-border bg-port-card">
<button
diff --git a/client/src/index.css b/client/src/index.css
index 0c922405fd..854a470cca 100644
--- a/client/src/index.css
+++ b/client/src/index.css
@@ -27,12 +27,23 @@
font-family: 'GeistPixelGrid', 'Courier New', monospace;
}
+html, body, #root {
+ width: 100%;
+ max-width: 100vw;
+ overflow-x: hidden;
+}
+
body {
background-color: #0f0f0f;
color: #e5e5e5;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
+#root {
+ min-height: 100vh;
+ min-height: 100dvh;
+}
+
/* Accessibility: Global focus styles for keyboard navigation */
*:focus-visible {
outline: 2px solid #3b82f6;