diff --git a/components/chat.tsx b/components/chat.tsx index e4dc13a8..07967701 100644 --- a/components/chat.tsx +++ b/components/chat.tsx @@ -44,7 +44,7 @@ export function Chat({ id }: ChatProps) { useEffect(() => { // Check if device is mobile const checkMobile = () => { - setIsMobile(window.innerWidth < 768) + setIsMobile(window.innerWidth < 1024) } // Initial check diff --git a/components/copilot.tsx b/components/copilot.tsx index b62b37ed..53fc4b9b 100644 --- a/components/copilot.tsx +++ b/components/copilot.tsx @@ -146,7 +146,7 @@ export const Copilot: React.FC = ({ inquiry }: CopilotProps) => { } />