From 77c2009658984a5395b0592af22dd20a7ecfb1e0 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 29 Sep 2021 17:33:59 +0800 Subject: [PATCH] Improve the layout of toc entries --- _sass/layout/post.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_sass/layout/post.scss b/_sass/layout/post.scss index b4475df..57d3847 100644 --- a/_sass/layout/post.scss +++ b/_sass/layout/post.scss @@ -139,15 +139,13 @@ } } -#toc li > a { - line-height: 1rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; +#toc li a { font-size: 0.8rem; &.nav-link:not(.active) { color: inherit; } + } nav[data-toggle=toc] {