From 7a88347c63a74b98eabc3ef755af97408073e9de Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 28 Dec 2020 19:38:24 +0800 Subject: [PATCH] Remove inline code extra content --- assets/css/_addon/syntax.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/_addon/syntax.scss b/assets/css/_addon/syntax.scss index bad170d..4601935 100644 --- a/assets/css/_addon/syntax.scss +++ b/assets/css/_addon/syntax.scss @@ -149,7 +149,7 @@ div { } } -[class^='language-']::before { +div[class^='language-']::before { content: attr(lang); position: absolute; right: 1.8rem; @@ -161,7 +161,7 @@ div { } @media (min-width: 768px) { - [class^='language-']::before { + div[class^='language-']::before { right: 3.1rem; } }