diff --git a/src/app/(app)/ai/page.tsx b/src/app/(app)/ai/page.tsx index d19370b..9412099 100644 --- a/src/app/(app)/ai/page.tsx +++ b/src/app/(app)/ai/page.tsx @@ -267,15 +267,19 @@ export default function AIChatPage() { {/* Input */}
-
- setInput(e.target.value)} - onKeyDown={e => e.key === "Enter" && !e.shiftKey && handleSend()} - placeholder="Ask about your baby..." - disabled={loading} - className="flex-1" - /> +
+ {/* Input renders its own wrapper div, so flex-1 must go on a wrapper + here — putting it on only hits the inner (already + w-full) and the wrapper stays content-width, leaving it narrow. */} +
+ setInput(e.target.value)} + onKeyDown={e => e.key === "Enter" && !e.shiftKey && handleSend()} + placeholder="Ask about your baby..." + disabled={loading} + /> +