style(web): the copy button keeps the width of its label (#205)

With `flex` the button was a block as wide as its frame; `inline-flex`
sizes it like the other primary buttons of the site.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
le king fu 2026-11-15 17:34:31 -05:00
commit a688572218

View file

@ -38,7 +38,7 @@ export function AssistantsCreated({ token }: { token: string }) {
<button
type="button"
onClick={copy}
className="flex items-center gap-2 px-3 py-1.5 text-sm bg-bleu text-white rounded-lg hover:bg-bleu/90 transition-colors"
className="inline-flex items-center gap-2 px-3 py-1.5 text-sm bg-bleu text-white rounded-lg hover:bg-bleu/90 transition-colors"
>
{copied ? <Check size={14} /> : <Copy size={14} />}
{t(copied ? "assistants.created.copied" : "assistants.created.copy")}