From 13161e78a0f5e83edc2dece68602e52c512fbf13 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sat, 3 Sep 2022 17:40:26 +0800 Subject: [PATCH] :bug: Style: fix del style at inline code --- assets/css/_partial/_single/_code.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/_partial/_single/_code.scss b/assets/css/_partial/_single/_code.scss index 30f25461..9dd4c70e 100644 --- a/assets/css/_partial/_single/_code.scss +++ b/assets/css/_partial/_single/_code.scss @@ -1,12 +1,12 @@ // inline code code { - display: inline-block; - max-width: 100%; - padding: 0 0.25rem; + padding: 0.2em 0.4em; + margin: 0; font-size: $code-font-size; font-family: $code-font-family; color: $code-color; background-color: rgba(175, 184, 193, 0.2); + text-decoration: inherit; @include border-radius($global-border-radius); @include overflow-wrap(break-word); @include line-break(anywhere);