From e4dd871408ef8a175986659ea93071fe75af381b Mon Sep 17 00:00:00 2001 From: Chris Scott Date: Tue, 9 Dec 2025 23:36:30 -0500 Subject: [PATCH] Improve prompt input styling with visible focus state and consistent button heights --- frontend/src/components/message/PromptInput.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/message/PromptInput.tsx b/frontend/src/components/message/PromptInput.tsx index d1050cc9..4161ffe8 100644 --- a/frontend/src/components/message/PromptInput.tsx +++ b/frontend/src/components/message/PromptInput.tsx @@ -507,9 +507,9 @@ export function PromptInput({ : "Send a message..." } disabled={disabled} - className={`w-full bg-background/90 px-2 md:px-3 py-2 text-[16px] text-foreground placeholder-muted-foreground focus:outline-none focus:bg-background resize-none min-h-[40px] max-h-[120px] disabled:opacity-50 disabled:cursor-not-allowed md:text-sm rounded-lg ${ + className={`w-full bg-muted/50 px-2 md:px-3 py-2 text-[16px] text-foreground placeholder-muted-foreground focus:outline-none focus:bg-muted/70 resize-none min-h-[40px] max-h-[120px] disabled:opacity-50 disabled:cursor-not-allowed md:text-sm rounded-lg ${ isBashMode - ? 'border-purple-500/50 bg-purple-500/5 focus:bg-background' + ? 'border-purple-500/50 bg-purple-500/5 focus:bg-purple-500/10' : '' }`} rows={1} @@ -584,7 +584,7 @@ export function PromptInput({ data-submit-prompt onClick={handleSubmit} disabled={!prompt.trim() || disabled} - className="px-5 md:px-6 py-1.5 rounded-lg text-sm font-medium transition-colors bg-primary hover:bg-primary/90 disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed text-primary-foreground" + className="px-5 md:px-6 py-1.5 md:py-2 rounded-lg text-sm font-medium transition-colors bg-primary hover:bg-primary/90 disabled:bg-muted disabled:text-muted-foreground disabled:cursor-not-allowed text-primary-foreground" title={hasActiveStream ? 'Queue message' : 'Send'} > {hasActiveStream ? 'Queue' : 'Send'}