mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
fix(style): toc counter is incorrect when there are <a> in <h2>
fix #589
This commit is contained in:
parent
c1fcec95a6
commit
31b35e203e
@ -104,7 +104,7 @@
|
||||
list-style-type: none;
|
||||
counter-reset: item;
|
||||
|
||||
li a::before {
|
||||
li a:first-of-type::before {
|
||||
counter-increment: item;
|
||||
content: counters(item, ".") ". ";
|
||||
font-weight: bold;
|
||||
|
Loading…
Reference in New Issue
Block a user