-
Beta Was this translation helpful? Give feedback.
Answered by
hellt
Jul 22, 2024
Replies: 1 comment
-
For now I did it with /* START hide code copy and selection icons until on hover */
/* Hide the nav element by default */
div.highlight .md-code__nav {
display: none;
}
/* Show the nav element when the div is hovered over */
div.highlight:hover .md-code__nav {
display: flex;
}
/* END hide code copy and selection icons until on hover */ Does the job, but maybe what would be nicer is to have a listener to hide the buttons when mouse stands still over the code blocks for X seconds... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kamilkrzyskow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For now I did it with
Does the job, but maybe what would be nicer is to have a listener to hide the buttons when mouse stands still over the code blocks for X seconds...