From 9ababfda462b1b77bc6e90052729c811f6953fff Mon Sep 17 00:00:00 2001 From: ludan <251918489@qq.com> Date: Tue, 2 Jun 2026 18:18:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=89=A7=E6=9C=AC?= =?UTF-8?q?=E8=AF=84=E5=88=86=E6=96=87=E6=9C=AC=E6=A1=86=E9=9A=8F=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=97=A0=E9=99=90=E4=B8=8B=E6=8B=89=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E8=A2=AB=E6=8C=A4=E5=87=BA=E8=A7=86=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - textarea 增加 max-height 限制高度不随内容增长 - textarea 增加 overflow-y: auto 启用内部滚动 - text-shell 同步增加 max-height 约束 --- src/styles/pages/script-tokens.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/pages/script-tokens.css b/src/styles/pages/script-tokens.css index 488dba1..ff90426 100644 --- a/src/styles/pages/script-tokens.css +++ b/src/styles/pages/script-tokens.css @@ -3400,6 +3400,7 @@ width: 100%; height: 100%; min-height: 520px; + max-height: 520px; padding: 18px 22px; border: none; outline: none; @@ -3409,6 +3410,7 @@ font-size: 14px; line-height: 1.9; resize: none; + overflow-y: auto; } .script-eval-v4-text-input::placeholder { @@ -4268,6 +4270,11 @@ .script-eval-v4-text-shell, .script-eval-v4-text-input { min-height: calc(100vh - 422px); + max-height: calc(100vh - 422px); +} + +.script-eval-v4-text-input { + overflow-y: auto; } .script-eval-v4-score-card {