From e6620e4b91b34f3928f1daa421fa8c36dd75d76a Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Tue, 7 Apr 2026 09:48:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=89=B9=E5=88=AB=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=EF=BC=8C=E4=BB=A3=E7=A0=81=E5=9D=97=E5=92=8C=E6=AD=A3=E6=96=87?= =?UTF-8?q?=E4=B8=80=E6=A0=B7=E7=9A=84=E5=AD=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/globals.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/styles/globals.css b/frontend/src/styles/globals.css index 03ac4437..4abb0691 100644 --- a/frontend/src/styles/globals.css +++ b/frontend/src/styles/globals.css @@ -426,6 +426,13 @@ p { font-size: calc(14px * var(--zoom-scale)); } +/* 特别指定,代码块和正文一样的字体 */ +code, +kbd, +samp, +pre { + font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif !important; +} /* 列表项 - 14px */ [data-streamdown="list-item"] {