Skip to content

Commit

Permalink
align bubbles to bottom of the chat
Browse files Browse the repository at this point in the history
  • Loading branch information
masnabinumeed committed Dec 5, 2024
1 parent be87c1d commit cb7c916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/chat/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ export default function ChatPage() {
</div>

{/* Messages container */}
<div className="min-h-0 flex-1 overflow-y-auto">
<div className="mx-auto flex max-w-2xl flex-col p-4">
<div className="flex min-h-0 flex-1 overflow-y-auto">
<div className="mx-auto flex max-w-2xl flex-col p-4 mt-auto">
{isClient && messages.map((message) => (
<ChatBubble
key={message.id}
Expand Down

0 comments on commit cb7c916

Please sign in to comment.