Skip to content

Commit

Permalink
Merge pull request #1392 from nationalarchives/FCL-228/style-tooltips…
Browse files Browse the repository at this point in the history
…-on-hover

FCL-228 | style tooltip on hover correctly
  • Loading branch information
jlhdxw authored Aug 23, 2024
2 parents 962d079 + 24b3b0b commit 11f909a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

&:hover {
.judgment-body__copy-link,
.judgment-body__copy-tooltip {
.judgment-body__copy-link-tooltip {
opacity: 1;
}
}
Expand Down Expand Up @@ -38,10 +38,13 @@

&__copy-link-tooltip {
right: 30px;
color: $color-link-blue;
text-decoration: underline;
}

&__copy-link-helptext {
right: 44px;
color: $color-black;
}

&__copy-link-tooltip,
Expand All @@ -54,7 +57,6 @@
white-space: nowrap;
border: 1px solid $color-grey;
padding: 5px 10px;
color: $color-black;
background: $color-white;
transition: opacity ease 0.3s;

Expand Down

0 comments on commit 11f909a

Please sign in to comment.