Improve the layout of toc entries

This commit is contained in:
Cotes Chung 2021-09-29 17:33:59 +08:00
parent 9844b964a8
commit 77c2009658

View file

@ -139,15 +139,13 @@
} }
} }
#toc li > a { #toc li a {
line-height: 1rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
font-size: 0.8rem; font-size: 0.8rem;
&.nav-link:not(.active) { &.nav-link:not(.active) {
color: inherit; color: inherit;
} }
} }
nav[data-toggle=toc] { nav[data-toggle=toc] {