Skip to content

Commit

Permalink
fix: update css for new header anchor rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 15, 2023
1 parent 67184a8 commit 6b60593
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/styles/vt-doc-base.css
Expand Up @@ -64,6 +64,10 @@
transition: color 0.25s, opacity 0.25s;
}

.vt-doc .header-anchor:before {
content: '#';
}

.vt-doc h1:hover .header-anchor,
.vt-doc h1 .header-anchor:focus,
.vt-doc h2:hover .header-anchor,
Expand Down

0 comments on commit 6b60593

Please sign in to comment.