Skip to content

Commit

Permalink
Only show copy on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Sep 4, 2024
1 parent 63a7f83 commit 2dca376
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/css/code/definition-doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
position: absolute;
top: 0;
right: 0;
display: none;
background: var(--u-color_action);
}

.definition-doc .copyable-source:hover .copy-on-click {
display: block;
}

.definition-doc .copyable-source .copy-on-click .copy-on-click_success {
Expand Down

0 comments on commit 2dca376

Please sign in to comment.