From be21f8a99a6dbde82ee37037258eb623ca110f51 Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Thu, 9 Apr 2026 11:52:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=A8=E5=B1=80=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E5=92=8C=E4=BB=A3=E7=A0=81=E5=9D=97=E5=AD=97=E4=BD=93=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/globals.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/styles/globals.css b/frontend/src/styles/globals.css index 4abb0691..739e9c70 100644 --- a/frontend/src/styles/globals.css +++ b/frontend/src/styles/globals.css @@ -411,6 +411,12 @@ --container-width-lg: calc(var(--spacing) * 256); } +html, +body { + font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", ui-sans-serif, + system-ui, sans-serif; +} + /* ======================================== Streamdown Markdown Styles 使用 data-streamdown 属性选择器统一定义 @@ -452,9 +458,9 @@ pre { font-size: calc(16px * var(--zoom-scale)); } -/* 二三级标题 - 16px */ +/* 代码块 - 14px */ [data-streamdown="code-block"] pre { - font-size: calc(16px * var(--zoom-scale)); + font-size: calc(14px * var(--zoom-scale)); } .cm-line {