From 6d68133b92a346c0d4a3ec8c381cf36f25b31f9b Mon Sep 17 00:00:00 2001 From: hazlank <401840614@qq.com> Date: Thu, 5 Aug 2021 17:01:41 +0800 Subject: [PATCH] fix(code): code block highlight bug in li --- src/client/theme-default/styles/code.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/theme-default/styles/code.css b/src/client/theme-default/styles/code.css index 1e821af9adeb..680d34cfab19 100644 --- a/src/client/theme-default/styles/code.css +++ b/src/client/theme-default/styles/code.css @@ -26,6 +26,7 @@ div[class*='language-'] { li > div[class*='language-'] { border-radius: 6px 0 0 6px; margin: 1rem -1.5rem 1rem -1.25rem; + line-height: initial; } @media (min-width: 420px) {