Skip to content

Commit

Permalink
affix send button to bottom of chat input
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Jul 8, 2024
1 parent f250ed8 commit 56928a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/jupyter-ai/src/components/chat-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,10 @@ export function ChatInput(props: ChatInputProps): JSX.Element {
InputProps={{
...params.InputProps,
endAdornment: (
<InputAdornment position="end">
<InputAdornment
position="end"
sx={{ height: 'unset', alignSelf: 'flex-end' }}
>
<SendButton {...sendButtonProps} />
</InputAdornment>
)
Expand Down

0 comments on commit 56928a7

Please sign in to comment.