Skip to content

Commit

Permalink
Limit the number of displayed rows in chat input to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski authored and dlqqq committed Jul 8, 2024
1 parent 43a0e8f commit f250ed8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jupyter-ai/src/components/chat-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ export function ChatInput(props: ChatInputProps): JSX.Element {
{...params}
fullWidth
variant="outlined"
maxRows={20}
multiline
placeholder="Ask Jupyternaut"
onKeyDown={handleKeyDown}
Expand Down

0 comments on commit f250ed8

Please sign in to comment.