From e36abdee8b04a3b0b7c4521dfb4d2a3d187b7eea Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 17 Nov 2022 13:58:33 +0800 Subject: [PATCH] website: update linenumber style. --- scripts/style/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/style/style.css b/scripts/style/style.css index 2676f2e9..cf3902e9 100644 --- a/scripts/style/style.css +++ b/scripts/style/style.css @@ -1185,9 +1185,9 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after { width: 1rem; text-align: right; margin-right: 16px; - margin-left: -8px; color: var(--color-fg-subtle); content: attr(line); + white-space: nowrap; } /* 代码高亮 End */