Skip to content

Commit

Permalink
Make copyButton appear when hovering codeTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
kohheepeace committed Mar 16, 2020
1 parent f0b6998 commit 0fa3637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
top: calc(var(--ifm-pre-padding));
}

.codeBlockTitle:hover + .codeBlockContent .copyButton,
.codeBlockContent:hover > .copyButton {
visibility: visible;
opacity: 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
top: calc(var(--ifm-pre-padding));
}

.codeBlockTitle:hover + .codeBlockContent .copyButton,
.codeBlockContent:hover > .copyButton {
visibility: visible;
opacity: 1;
Expand Down

0 comments on commit 0fa3637

Please sign in to comment.