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([issue-1221]): also exclude trailing-slash /apps/create/ from full-width

[._.]/ Adam Eivy293b52211396
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index 874ffe4611..5b98ba3d50 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -1142,11 +1142,14 @@ export default function Layout() {
location.pathname === '/shell' ||
location.pathname.startsWith('/shell/') ||
location.pathname.startsWith('/city') ||
- // Only the App DETAIL editor (/apps/:id) is full-width and owns its
- // own scroll; the Add App form (/apps/create) is a plain scrolling
- // page and must stay OUT of full-width, or its content clips below
- // the fold (it has no internal overflow-y-auto container).
- /^\/apps\/(?!create$)[^/]+/.test(location.pathname);
+ // Only the App DETAIL editor (/apps/:id, /apps/:id/:tab) is
+ // full-width and owns its own scroll; the Add App form
+ // (/apps/create) is a plain scrolling page and must stay OUT of
+ // full-width, or its content clips below the fold (it has no
+ // internal overflow-y-auto container). The trailing (?:\/|$) +
+ // create(?:\/|$) lookahead also excludes the trailing-slash URL
+ // /apps/create/ (React Router treats it as the same route).
+ /^\/apps\/(?!create(?:\/|$))[^/]+(?:\/|$)/.test(location.pathname);
return (
<main id="main-content" className={`flex-1 min-h-0 print:overflow-visible print:min-h-0 ${isFullWidth ? 'relative overflow-hidden' : 'overflow-auto p-4 md:p-6'}`}>
<Outlet />