Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

Center error boundary (#28)

Myles Scolnick1830762ce499
diff --git a/frontend/src/css/index.css b/frontend/src/css/index.css
index 71fb28f54d..4563b8c5a5 100644
--- a/frontend/src/css/index.css
+++ b/frontend/src/css/index.css
@@ -23,8 +23,10 @@ body {
body,
#root {
- height: 100%;
+ height: 100vh;
width: 100%;
+ display: flex;
+ flex-direction: column;
}
code {
diff --git a/frontend/src/editor/boundary/ErrorBoundary.tsx b/frontend/src/editor/boundary/ErrorBoundary.tsx
index 4da2ec942e..a24c88f6d9 100644
--- a/frontend/src/editor/boundary/ErrorBoundary.tsx
+++ b/frontend/src/editor/boundary/ErrorBoundary.tsx
@@ -15,7 +15,7 @@ export const ErrorBoundary: React.FC<PropsWithChildren> = (props) => {
};
export const container =
- "w-full h-full flex items-center justify-center flex-col space-y-4";
+ "flex-1 flex items-center justify-center flex-col space-y-4";
const FallbackComponent: React.FC<FallbackProps> = (props) => {
return (