From bf71b1366391209bce6f79825e1280fc62a82e21 Mon Sep 17 00:00:00 2001 From: Fog3211 Date: Mon, 3 Apr 2023 08:25:07 +0800 Subject: [PATCH] fix: x-scrollbar height (#1153) Co-authored-by: Fog3211 <23151576+Fog3211@users.noreply.github.com> --- src/styles/lib/highlight.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/styles/lib/highlight.less b/src/styles/lib/highlight.less index e3a72c3958..446a1e2e08 100644 --- a/src/styles/lib/highlight.less +++ b/src/styles/lib/highlight.less @@ -123,7 +123,10 @@ html { } code.hljs { - padding: 3px 5px + padding: 3px 5px; + &::-webkit-scrollbar { + height: 4px; + } } .hljs {