An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
feat: tighten chat input layout on mobile (#842)
Yoshiki Miuraf2c65dc68a62
diff --git a/components/chat-panel.tsx b/components/chat-panel.tsxindex 39ea41c8..42873fe2 100644--- a/components/chat-panel.tsx+++ b/components/chat-panel.tsx@@ -180,7 +180,9 @@ export function ChatPanel({<divclassName={cn('w-full bg-background group/form-container shrink-0',- messages.length > 0 ? 'sticky bottom-0 px-2 pb-2 md:pb-4' : 'px-6'+ messages.length > 0+ ? 'sticky bottom-0 px-2 pb-2 md:pb-4'+ : 'px-4 md:px-6')}>{messages.length === 0 && (@@ -411,7 +413,7 @@ export function ChatPanel({inputRef.current?.focus()}}inputRef={inputRef}- className="mt-2"+ className="mt-2 hidden md:block"/>)}</form>