Skip to content

An AI-powered search engine with a generative UI

feat: add subtle focus ring to chat input

Yoshiki Miuradbf7e9944438
diff --git a/components/chat-panel.tsx b/components/chat-panel.tsx
index 86293fc0..7a847a05 100644
--- a/components/chat-panel.tsx
+++ b/components/chat-panel.tsx
@@ -166,7 +166,7 @@ export function ChatPanel({
</Button>
)}
- <div className="relative flex flex-col w-full gap-2 bg-muted rounded-3xl border border-input">
+ <div className="relative flex flex-col w-full gap-2 bg-muted rounded-3xl border border-input focus-within:ring-1 focus-within:ring-ring/20 focus-within:ring-offset-1 focus-within:ring-offset-background/50 transition-shadow">
<Textarea
ref={inputRef}
name="input"