Skip to content

Commit

Permalink
refactor(Conversation): add transition effect to layout change
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfrankz committed Sep 20, 2024
1 parent 0559f36 commit 8a0e0fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Conversation/ChatSectionHasModel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export function ChatSectionHasModel({
>
<div
className={cn(
'relative w-full p-4 md:mx-auto md:px-0',
'relative w-full p-4 md:mx-auto md:px-0 transition-[width]',
isWideScreen ? 'md:w-[800px]' : 'md:w-[640px]'
)}
>
Expand All @@ -322,7 +322,7 @@ export function ChatSectionHasModel({
</ScrollArea>
<div
className={cn(
'w-full px-4 md:w-[640px] md:px-0',
'w-full px-4 md:w-[640px] md:px-0 transition-[width]',
isWideScreen ? 'md:w-[800px]' : 'md:w-[640px]'
)}
>
Expand Down

0 comments on commit 8a0e0fc

Please # to comment.