diff --git a/src/components/Chat.tsx b/src/components/Chat.tsx index 56c13e6..f0432ca 100644 --- a/src/components/Chat.tsx +++ b/src/components/Chat.tsx @@ -59,7 +59,7 @@ const Chat = () => { }, [messages]); return ( -
+
{sections.map((section, i) => { const isLast = i === sections.length - 1; @@ -80,10 +80,21 @@ const Chat = () => { {loading && !messageAppeared && }
{dividerWidth > 0 && ( -
+
+
+
)} diff --git a/src/components/MessageInput.tsx b/src/components/MessageInput.tsx index d1fc989..c682cf0 100644 --- a/src/components/MessageInput.tsx +++ b/src/components/MessageInput.tsx @@ -2,9 +2,7 @@ import { cn } from '@/lib/utils'; import { ArrowUp } from 'lucide-react'; import { useEffect, useRef, useState } from 'react'; import TextareaAutosize from 'react-textarea-autosize'; -import Attach from './MessageInputActions/Attach'; import CopilotToggle from './MessageInputActions/Copilot'; -import { File } from './ChatWindow'; import AttachSmall from './MessageInputActions/AttachSmall'; import { useChat } from '@/lib/hooks/useChat'; @@ -64,7 +62,7 @@ const MessageInput = () => { } }} className={cn( - 'bg-light-secondary dark:bg-dark-secondary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200 shadow-sm shadow-light-200/10 dark:shadow-black/20 transition-all duration-200 focus-within:border-light-300 dark:focus-within:border-dark-300', + 'relative bg-light-secondary dark:bg-dark-secondary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200 shadow-sm shadow-light-200/10 dark:shadow-black/20 transition-all duration-200 focus-within:border-light-300 dark:focus-within:border-dark-300', mode === 'multi' ? 'flex-col rounded-2xl' : 'flex-row rounded-full', )} > @@ -103,7 +101,7 @@ const MessageInput = () => { />