fix chat mobile cutoff

This commit is contained in:
2026-06-18 02:49:05 +02:00
parent ca29bd5003
commit 5755bd3184
4 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import { ScrollArea } from '~/components/ui/scroll-area';
import { memo } from 'react';
const Messages = memo(({messages,status}: { messages: UIMessage[],status:ChatStatus}) => {
return (
<ScrollArea data-scroller-priority='1' className="w-full h-[90%] max-w-4xl mx-auto">
<ScrollArea data-scroller-priority='1' className="w-full flex-1 min-h-0 max-w-4xl mx-auto">
{messages.map((message, i) => (
<Card.AnimatedCard scrollOnly={true} key={i}>
<Card.CardContent>