From 29d3aacf64cae87ca3a6d93d424c1acc543f4cc8 Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Thu, 31 Aug 2023 09:36:44 +0700 Subject: [PATCH] fix: consistent between ToC and section --- assets/css/site.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/css/site.css b/assets/css/site.css index 09a70d3..7adfdb0 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -69,18 +69,18 @@ h6 { /* nested counters */ h2::before { - @apply text-muted; - content: counter(h2) ". "; + @apply text-muted mr-2 -ml-3; + content: counter(h2); } h3::before { - @apply text-muted; - content: counter(h2) "." counter(h3) ". "; + @apply text-muted mr-2 -ml-3; + content: counter(h2) "." counter(h3); } h4::before { - @apply text-muted; - content: counter(h2) "." counter(h3) "." counter(h4) ". "; + @apply text-muted mr-2 -ml-3; + content: counter(h2) "." counter(h3) "." counter(h4); } [id] {