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.

clamp height for prompt input in generate height (#6083)

Shahmir Varqha9d21559a3b6d
diff --git a/frontend/src/components/editor/ai/ai-completion-editor.tsx b/frontend/src/components/editor/ai/ai-completion-editor.tsx
index f7fe2284b8..04d7fd1643 100644
--- a/frontend/src/components/editor/ai/ai-completion-editor.tsx
+++ b/frontend/src/components/editor/ai/ai-completion-editor.tsx
@@ -150,6 +150,7 @@ export const AiCompletionEditor: React.FC<Props> = ({
<SparklesIcon className="text-(--blue-10) shrink-0" size={16} />
<PromptInput
inputRef={inputRef}
+ className="h-full my-0 py-1.5"
onClose={() => {
declineChange();
setCompletion("");