From 8a4d0bc4ee9e142a11401cad80bc9605878f121d Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sun, 22 Dec 2024 03:11:20 +0800 Subject: [PATCH] fix(ui): left borderline of TOC is notched (#2140) --- _includes/toc.html | 2 +- _sass/pages/_post.scss | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/_includes/toc.html b/_includes/toc.html index 888466d275b..0f877267b39 100644 --- a/_includes/toc.html +++ b/_includes/toc.html @@ -3,7 +3,7 @@ {% if enable_toc %}
{% endif %} diff --git a/_sass/pages/_post.scss b/_sass/pages/_post.scss index 9b8fa7e6d75..12a301f5cde 100644 --- a/_sass/pages/_post.scss +++ b/_sass/pages/_post.scss @@ -272,12 +272,8 @@ header { padding-left: 0; li { - &:not(:last-child) { - margin: 0.4rem 0; - } - a { - padding: 0.2rem 0 0.2rem 1.25rem; + padding: 0.4rem 0 0.4rem 1.25rem; } }