Skip to content

Commit a492377

Browse files
committed
Copy to clipboard responsive
1 parent dc7ab21 commit a492377

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

stories/ColorHelper/CopyToClipboardButton.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,15 @@ export function CopyToClipboardButton(props: Props) {
4949
css({ "color": theme.decisions.text.default.success.default })
5050
)}
5151
/>
52-
  Copied to clipboard!
52+
<span
53+
className={css({
54+
[fr.breakpoints.down("lg")]: {
55+
"display": "none"
56+
}
57+
})}
58+
>
59+
&nbsp; Copied to clipboard!
60+
</span>
5361
</p>
5462
) : (
5563
<Button

0 commit comments

Comments
 (0)