Skip to content

Commit

Permalink
Fixes scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhiffing committed Sep 13, 2024
1 parent 0bf74ea commit 9c7a2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ChatWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function ChatWindow() {
}

return (
<Card className="flex grow flex-col h-full border-none shadow-none">
<Card className="flex grow flex-col h-[calc(100vh-8rem)] border-none shadow-none">
<CardContent className="flex-grow overflow-hidden p-0">
<div className="flex h-full">
<div ref={chatContainerRef} className="flex-1 p-4 overflow-y-auto">
Expand Down

0 comments on commit 9c7a2dc

Please sign in to comment.