From 3c7babb5eaac98e9d3873cfae1948b7f1366b303 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Mon, 22 Dec 2025 00:13:24 +0800 Subject: [PATCH] fix(i): some minor style updates --- assets/css/_core/_base.scss | 1 + assets/css/_partials/_single/_code.scss | 1 + layouts/_partials/init/index.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/css/_core/_base.scss b/assets/css/_core/_base.scss index b512607d..91420c7e 100644 --- a/assets/css/_core/_base.scss +++ b/assets/css/_core/_base.scss @@ -79,6 +79,7 @@ details { padding: 0.2em 0.4em; margin: 0; font-size: $code-font-size; + line-height: $code-font-size; font-family: $code-font-family; color: $code-color; background-color: var(#{$rootPrefix}code-inline-background-color); diff --git a/assets/css/_partials/_single/_code.scss b/assets/css/_partials/_single/_code.scss index 149a5e31..7da9ff3e 100644 --- a/assets/css/_partials/_single/_code.scss +++ b/assets/css/_partials/_single/_code.scss @@ -23,6 +23,7 @@ pre { padding: 0; background-color: transparent; font-size: inherit; + line-height: inherit; @include border-radius(0); @include max-content(min-width); diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index d71aab51..8bb152ce 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251220152055-051f45a7" -}} +{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251221161325-3f145760" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}