Skip to content

Conversation

@choldgraf
Copy link
Member

This makes the copybutton remain on the screen when the .success class is still present. It also staggers the timout of when success is removed to be before the icon changes back, so that we don't get an ugly "icon change back before it hides" effect.

closes #175

@choldgraf choldgraf merged commit e529aa0 into executablebooks:master Nov 15, 2022
@choldgraf choldgraf deleted the fix-hover-time branch November 15, 2022 09:51
@choldgraf
Copy link
Member Author

Gonna self-merge since this fixes a little UX bug and isn't too complex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copybutton disappears too quickly if you click copy then move the cursor off the code cell

1 participant