"Copied!" label no longer wrapping to the next line (#12128)
* tooltips 1.0.1 * tooltips 1.0.1 * button wrapping fix
This commit is contained in:
parent
0ec2a40fe0
commit
13ff4c7fbe
1 changed files with 4 additions and 9 deletions
|
|
@ -44,18 +44,13 @@ export const ClipboardButton = ({
|
|||
value={linksToMarkdownForm(imageUrls)}
|
||||
/>
|
||||
<Button
|
||||
className="spec__image-markdown-copy"
|
||||
className="spec__image-markdown-copy whitespace-nowrap fw-normal"
|
||||
variant="ghost"
|
||||
contentType="icon"
|
||||
contentType="icon-left"
|
||||
icon={CopyIcon}
|
||||
/>
|
||||
<span
|
||||
id="image-markdown-copy-link-announcer"
|
||||
role="alert"
|
||||
className={`fs-s ${showCopyMessage ? '' : 'opacity-0'}`}
|
||||
>
|
||||
Copied!
|
||||
</span>
|
||||
{showCopyMessage ? 'Copied!' : 'Copy...'}
|
||||
</Button>
|
||||
</clipboard-copy>
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue