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.

style: always show cell buttons at bottom of array (#1878)

Akshay Agrawale1fa84a3faf3
diff --git a/frontend/src/components/editor/renderers/CellArray.tsx b/frontend/src/components/editor/renderers/CellArray.tsx
index d5269f42cc..7535e3e73a 100644
--- a/frontend/src/components/editor/renderers/CellArray.tsx
+++ b/frontend/src/components/editor/renderers/CellArray.tsx
@@ -168,7 +168,7 @@ const AddCellButtons: React.FC = () => {
onClick={() => createNewCell({ cellId: "__end__", before: false })}
>
<SquareCodeIcon className="mr-2 size-4 flex-shrink-0" />
- Code
+ Python
</Button>
<Button
className={buttonClass}
@@ -247,7 +247,7 @@ const AddCellButtons: React.FC = () => {
<div
className={cn(
"shadow-sm border border-border rounded transition-all duration-200 overflow-hidden divide-x divide-border flex",
- !isAiButtonOpen && "opacity-0 group-hover:opacity-100 w-fit",
+ !isAiButtonOpen && "w-fit",
isAiButtonOpen && "opacity-100 w-full max-w-4xl shadow-lg",
)}
>