Add clipboard btn hover state to checkout MR instructions
What does this MR do and why?
- Removes unnecessary styles in checkout instructions clipboard buttons
- Add hover state
- Align button to top of
pre
block
- Removes automatic
focus
on copy button - Migrates old classes to tailwind
What does this MR not do?
We could potentially move the copy
button into the code block, similar to how a copy
button appears on hover (although I don't think it should be ever hidden in this scenario). For now though, this is what I'm going with.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Project > Merge request > Code > Check out branch
Links
Edited by Annabel Dunstone Gray