Skip to content

Commit

Permalink
chore: adjust default size, add slight animation to FAB
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Oct 15, 2024
1 parent 507b42a commit 18e2659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/component/ai/AIChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const StyledAIIconButton = styled(IconButton)(({ theme }) => ({
background: theme.palette.primary.light,
color: theme.palette.primary.contrastText,
boxShadow: theme.boxShadows.popup,
transition: 'background 0.3s',
'&:hover': {
background: theme.palette.primary.dark,
},
Expand Down Expand Up @@ -145,7 +146,7 @@ export const AIChat = () => {
handlers={['top-left', 'top', 'left']}
minSize={{ width: '270px', height: '200px' }}
maxSize={{ width: '90vw', height: '90vh' }}
defaultSize={{ width: '25vw', height: '60vh' }}
defaultSize={{ width: '320px', height: '450px' }}
onResize={scrollToEnd}
>
<StyledChat>
Expand Down

0 comments on commit 18e2659

Please sign in to comment.