From 5af7f5a27c673dad91877cce8ea0ba1acc9e1e13 Mon Sep 17 00:00:00 2001 From: ubuntu Date: Wed, 14 Oct 2026 16:42:59 +0800 Subject: [PATCH] =?UTF-8?q?ui:=20=E9=A2=84=E8=A7=88=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=9D=97=E5=8E=BB=E5=8D=A1=E7=89=87=E5=A5=97=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E5=92=8C=E5=A4=8D=E5=88=B6=E6=8C=89=E9=92=AE=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=B9=B3=E9=93=BA=EF=BC=9B=E8=BE=93=E5=85=A5=E5=8C=BA=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E5=B7=A5=E5=85=B7=E6=9D=A1(=E4=BB=A3=E7=A0=81/Markdow?= =?UTF-8?q?n/=E8=AF=AD=E8=A8=80/=E6=B5=8B=E8=AF=84/=E8=A1=A8=E6=A0=BC)?= =?UTF-8?q?=E5=85=A8=E9=83=A8=E4=B8=8B=E7=A7=BB=E5=88=B0=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/index.html | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 482ead4..7c83abb 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -120,6 +120,9 @@ body.no-side .main-inner{gap:0} .md-code{font-family:var(--mono);font-size:12.5px;line-height:1.6;margin:6px 0} .md-code pre{background:#f6f8fa;color:#24292f;font-family:var(--mono);font-size:12.5px;line-height:1.6;padding:10px 12px;white-space:pre-wrap;word-break:break-word;overflow-x:auto;overflow-y:hidden;margin:0;max-height:none;border:1px solid #e4e8ee;border-radius:0 0 6px 6px} .md-code pre code{background:transparent;padding:0;font-family:var(--mono)} +/* 预览/对话流代码块:直接平铺展示,不再套工具栏卡片 */ +.md-pre{background:#f6f8fa;color:#24292f;font-family:var(--mono);font-size:12.5px;line-height:1.6;padding:10px 12px;white-space:pre-wrap;word-break:break-word;overflow-x:auto;margin:6px 0;border:1px solid #e4e8ee;border-radius:8px} +.md-pre code{background:transparent;padding:0;font-family:var(--mono)} .md-code-bar{display:flex;align-items:center;gap:8px;background:#eef1f4;border:1px solid #e4e8ee;border-bottom:none;border-radius:6px 6px 0 0;padding:3px 8px} .md-code-bar .md-code-lang{display:inline-block;background:#e2e8f0;color:#4b5563;font-size:10.5px;padding:2px 6px;border-radius:4px;font-family:var(--mono);flex:1} .md-code-bar button{background:#dde3ea;color:#374151;border:none;font-size:10.5px;padding:2px 10px;border-radius:4px;cursor:pointer;font-family:inherit} @@ -256,18 +259,6 @@ body.no-side .main-inner{gap:0}
-
-
- - -
- - - - -
@@ -284,6 +275,15 @@ body.no-side .main-inner{gap:0}
输入形态:代码 +
+ + +
+ + +
'+ - '
'+ - '
'+codeHtml+'
'); + '
'+codeHtml+'
'); } return esc; }