fix(web): give the chat composer a single focus outline (UF-043)
The composer textarea drew its own focus ring inside the rounded box, which already turns amber on focus-within. The ring is gone; the box's border stays the focus indicator (8.14:1 dark, 4.92:1 light against the composer).
This commit is contained in:
@@ -1698,7 +1698,8 @@ const ChatApp = ({
|
||||
onChange={handleInputChange}
|
||||
onKeyDown={handleKeyDown}
|
||||
placeholder="Reply, or ask Waggle to take the next step…"
|
||||
className="min-h-[64px] max-h-[300px] flex-1 resize-none bg-transparent py-1 text-[14.5px] text-[var(--text)] placeholder:text-[var(--text-dim)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--surface)]"
|
||||
// The surrounding box's focus-within border is the focus indicator.
|
||||
className="min-h-[64px] max-h-[300px] flex-1 resize-none bg-transparent py-1 text-[14.5px] text-[var(--text)] placeholder:text-[var(--text-dim)] focus-visible:outline-none"
|
||||
rows={3}
|
||||
/>
|
||||
<div className="flex items-center gap-2.5 pb-0.5">
|
||||
|
||||
Reference in New Issue
Block a user