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: change toolbar positioning from fixed to absolute (#5651)

Myles Scolnickdf09eec2a86d
diff --git a/frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx b/frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx
index 3bd44c7232..80197018b8 100644
--- a/frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx
+++ b/frontend/src/components/editor/navigation/multi-cell-action-toolbar.tsx
@@ -295,7 +295,7 @@ const MultiCellActionToolbarInternal = ({ cellIds }: { cellIds: CellId[] }) => {
return (
<div
- className="fixed top-12 justify-center flex w-full left-0 right-0 z-50"
+ className="absolute top-12 justify-center flex w-full left-0 right-0 z-50"
data-keep-cell-selection={true}
>
<div className="bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 border border-[var(--slate-7)] rounded-lg shadow-lg p-2 overflow-x-auto overflow-y-hidden mx-20 scrollbar-thin">
diff --git a/frontend/src/core/edit-app.tsx b/frontend/src/core/edit-app.tsx
index a2fe469c92..ec135496ca 100644
--- a/frontend/src/core/edit-app.tsx
+++ b/frontend/src/core/edit-app.tsx
@@ -169,9 +169,8 @@ export const EditApp: React.FC<AppProps> = ({
{editableCellsArray}
</CellsRenderer>
)}
-
- <MultiCellActionToolbar />
</AppContainer>
+ <MultiCellActionToolbar />
{!hideControls && (
<TooltipProvider>
<Controls