Remove transition animation of copy code button

What does this MR do and why?

  • Removes animation transition for Copy to clipboard buttons on code blocks

Why?

  • The transition duration makes it feel slightly sluggish
  • When you know the button is there, the slight delay in having the button appear is the tiniest bit annoying

Non-blocking open question

  • Do we need to hide the button at all? Could we just show it on every code block? 🤔

Screenshots or screen recordings

Before After
animate no-animate

How to set up and validate locally

  • Hover over any code block (in a comment/description, in the checkout branch instructions etc)

Links

Merge request reports

Loading