Skip to content

Commit

Permalink
fix: make anchor opacity 0 and 1 instead of changing visibility (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
makamekm authored May 31, 2024
1 parent b5d1c7c commit d081bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scss/_anchor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

.yfm-anchor::before {
content: '#';
visibility: hidden;
opacity: 0;
}

&:hover .yfm-anchor::before {
visibility: visible;
opacity: 1;
}
}

Expand Down

0 comments on commit d081bbe

Please sign in to comment.