Skip to content

Commit

Permalink
Do not suppress opacity transition for tooltipped-no-delay
Browse files Browse the repository at this point in the history
As far as I understand (the git history is not too easy to follow on this repo :/), when `tooltipped-no-delay` was added, there were no animations/transitions on the tooltip.

This commit removes the delay, so that the transition starts immediately, instead of suppressing the transition entirely. It effectively makes the 2 variants differ by only the initial delay (like the name suggests).
  • Loading branch information
astorije committed Aug 13, 2017
1 parent 5880b56 commit 2cf338e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/primer-tooltips/lib/tooltips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
.tooltipped-no-delay:focus {
&::before,
&::after {
opacity: 1;
animation: none;
animation-delay: 0s;
}
}

Expand Down

0 comments on commit 2cf338e

Please sign in to comment.