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.

fix: don't hide cell actions when in full-width mode (#2360)

Myles Scolnickf03fb74562da
diff --git a/frontend/src/components/editor/app-container.tsx b/frontend/src/components/editor/app-container.tsx
index 7ad87d927c..fcacd37757 100644
--- a/frontend/src/components/editor/app-container.tsx
+++ b/frontend/src/components/editor/app-container.tsx
@@ -29,6 +29,8 @@ export const AppContainer: React.FC<PropsWithChildren<Props>> = ({
<WrappedWithSidebar>
<div
id="App"
+ data-config-width={width}
+ data-connection-state={connectionState}
className={cn(
connectionState === WebSocketState.CLOSED && "disconnected",
"bg-background w-full h-full text-textColor",
diff --git a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx
index 32faf4d227..ae00f1df5c 100644
--- a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx
+++ b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx
@@ -29,6 +29,7 @@ export const VerticalLayoutWrapper: React.FC<PropsWithChildren<Props>> = ({
appConfig.width === "compact" && "max-w-contentWidth min-w-[400px]",
appConfig.width === "medium" &&
"max-w-contentWidthMedium min-w-[400px]",
+ appConfig.width === "full" && "max-w-full pr-10 xl:pr-4",
// Hide the cells for a fake loading effect, to avoid flickering
invisible && "invisible",
)}