fix: style

This commit is contained in:
dayuan.jiang
2025-03-23 14:36:21 +00:00
parent 762b970cd9
commit f44346762f
2 changed files with 3 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ export function ChatInput({
placeholder="Describe what changes you want to make to the diagram... (Press Cmd/Ctrl + Enter to send)" placeholder="Describe what changes you want to make to the diagram... (Press Cmd/Ctrl + Enter to send)"
disabled={status === "streaming"} disabled={status === "streaming"}
aria-label="Chat input" aria-label="Chat input"
className="min-h-[80px] resize-none transition-all duration-200" className="min-h-[80px] resize-none transition-all duration-200 px-1 py-0"
/> />
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">

View File

@@ -254,11 +254,11 @@ export default function ChatPanel({
); );
return ( return (
<Card className="h-full flex flex-col rounded-none py-0"> <Card className="h-full flex flex-col rounded-none py-0 gap-0">
<CardHeader className="p-4 text-center"> <CardHeader className="p-4 text-center">
<CardTitle>Next-AI-Drawio</CardTitle> <CardTitle>Next-AI-Drawio</CardTitle>
</CardHeader> </CardHeader>
<CardContent className="flex-grow overflow-hidden p-4"> <CardContent className="flex-grow overflow-hidden px-2">
<ScrollArea className="h-full pr-4"> <ScrollArea className="h-full pr-4">
{messages.length === 0 {messages.length === 0
? examplePanel ? examplePanel