diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index 0b53aaa..b225c12 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -19,12 +19,17 @@ const SetupsPage = lazy(() => import('./pages/SetupsPage')); const SetupPage = lazy(() => import('./pages/SetupPage')); export default function App() { - const { pathname } = useLocation(); + const pathname = useLocation().pathname; const isModRoute = pathname.startsWith('/mod/'); + // The inspector view is full-bleed/viewport-height; the setup sub-route keeps the standard centered layout. + const isModView = /^\/mod\/[^/]+$/.test(pathname); return (