fix(chat): fix secret-input chat widget reshaping after submit#5346
Conversation
SecretReveal (the post-submit redacted state) used bespoke h-9/rounded-md/px-2.5 chrome with an absolutely-positioned copy button, instead of the canonical chip-field chrome (h-[30px]/rounded-lg/px-2) that SecretInput (the pre-submit state) uses. That mismatch made the credential-paste widget visibly resize right after saving. Rebuilt SecretReveal on the same chipFieldSurfaceClass tokens as ChipInput, with the copy button as an inline trailing adornment.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview
Reviewed by Cursor Bugbot for commit 245431e. Configure here. |
Summary
ELEVENLABS_API_KEY) visibly changed shape right after submitSecretReveal) used bespokeh-9/rounded-md/px-2.5chrome with an absolutely-positioned copy button, instead of the canonical chip-field chrome (h-[30px]/rounded-lg/px-2) that the pre-submit input (SecretInput) usesSecretRevealon the samechipFieldSurfaceClass/chipFieldTextClasstokens asChipInput, with the copy button as an inline trailing adornment instead of an absolute-positioned overlayType of Change
Testing
Tested manually
Checklist