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:
parent
7c73f8c8ac
commit
5d0a7e8e1b
1 changed files with 1 additions and 1 deletions
|
|
@ -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")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue