mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-21 02:28:34 +00:00
hotfix: zen mode was broken
This commit is contained in:
parent
2adacbd27b
commit
2ae3ce53f3
@ -9,6 +9,6 @@ import { Repl } from '../repl/Repl';
|
|||||||
<title>Strudel REPL</title>
|
<title>Strudel REPL</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="h-app-height bg-background">
|
<body class="h-app-height bg-background">
|
||||||
<Repl client:load />
|
<Repl client:only="react" />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -74,6 +74,7 @@ export function Panel({ context }) {
|
|||||||
{activeFooter === name && <>{children}</>}
|
{activeFooter === name && <>{children}</>}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
const client = useClient();
|
||||||
if (isZen) {
|
if (isZen) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -84,7 +85,6 @@ export function Panel({ context }) {
|
|||||||
right: cx('max-w-full flex-grow-0 flex-none overflow-hidden', isActive ? 'w-[600px] h-full' : 'absolute right-0'),
|
right: cx('max-w-full flex-grow-0 flex-none overflow-hidden', isActive ? 'w-[600px] h-full' : 'absolute right-0'),
|
||||||
bottom: cx('relative', isActive ? 'h-[360px] min-h-[360px]' : ''),
|
bottom: cx('relative', isActive ? 'h-[360px] min-h-[360px]' : ''),
|
||||||
};
|
};
|
||||||
const client = useClient();
|
|
||||||
if (!client) {
|
if (!client) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user