Skip to content

Commit

Permalink
fix: absolute anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Feb 14, 2024
1 parent 7158541 commit 30f943b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scss/_anchor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
.yfm-anchor::before {
content: '#';
visibility: hidden;
position: absolute;

padding-right: 2px;
}

&:hover .yfm-anchor::before {
Expand Down

0 comments on commit 30f943b

Please sign in to comment.