fix: match Flow Assist chat input to AI Assistant styling + strengthen one-question prompt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-03-06 01:05:28 -05:00
parent 88c1553c5d
commit 07a723c687
2 changed files with 4 additions and 3 deletions

View File

@@ -46,14 +46,15 @@ export function ChatInput({ onSend, disabled, placeholder = 'Type a message...'
onInput={handleInput}
placeholder={placeholder}
disabled={disabled}
rows={1}
rows={3}
className={cn(
'flex-1 resize-none rounded-lg border border-border bg-background px-3 py-2',
'flex-1 resize-none rounded-xl border bg-card px-4 py-3',
'text-sm text-foreground placeholder:text-muted-foreground',
'focus:border-primary focus:ring-1 focus:ring-primary/20 focus:outline-none',
'disabled:opacity-50 disabled:cursor-not-allowed',
'max-h-40'
)}
style={{ borderColor: 'var(--glass-border)' }}
/>
<button
onClick={handleSend}