mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 10:21:46 +01:00
fix(style): toc counter is incorrect when there are <a>
in heading (#601)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/495, https://github.com/CaiJimmy/hugo-theme-stack/issues/589
This commit is contained in:
parent
92a6d71ce5
commit
9aa6b4925b
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,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 a new issue