From e2ad3fe24850b77ec53f63a1f8a738b71071f817 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 e3a72c3..446a1e2 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 {