Skip to content

Commit d081bbe

Browse files
authored
fix: make anchor opacity 0 and 1 instead of changing visibility (#432)
1 parent b5d1c7c commit d081bbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scss/_anchor.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
.yfm-anchor::before {
1515
content: '#';
16-
visibility: hidden;
16+
opacity: 0;
1717
}
1818

1919
&:hover .yfm-anchor::before {
20-
visibility: visible;
20+
opacity: 1;
2121
}
2222
}
2323

0 commit comments

Comments
 (0)