From 9421ff7360b5447fcefab08ecf9ee8632f6929f3 Mon Sep 17 00:00:00 2001 From: dekun Date: Thu, 20 Aug 2026 21:56:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=9F=E6=9D=83=E5=8E=86=E5=8F=B2=E8=A1=A8?= =?UTF-8?q?=EF=BC=9A=E7=9B=88=E4=BA=8F=E5=8D=95=E8=A1=8C=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=EF=BC=8C=E6=94=B6=E7=AA=84=E5=90=88=E7=BA=A6=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- lib/common/static/instance_theme.css | 21 ++++++++++++++------- lib/common/static/options_panel.js | 2 +- lib/options/templates/options_panel.html | 2 +- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/lib/common/static/instance_theme.css b/lib/common/static/instance_theme.css index aabd5a6..638fb66 100644 --- a/lib/common/static/instance_theme.css +++ b/lib/common/static/instance_theme.css @@ -5197,36 +5197,43 @@ html[data-theme="light"] .opt-source-badge--oo { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + max-width: 100%; + font-size: 0.72rem; } .opt-history-table th:nth-child(1), .opt-history-table td:nth-child(1) { - width: 34%; + width: 22%; } .opt-history-table th:nth-child(2), .opt-history-table td:nth-child(2) { - width: 7%; + width: 6%; } .opt-history-table th:nth-child(3), .opt-history-table td:nth-child(3) { - width: 11%; + width: 14%; + white-space: nowrap; } .opt-history-table th:nth-child(4), .opt-history-table td:nth-child(4) { - width: 9%; + width: 8%; } .opt-history-table th:nth-child(5), .opt-history-table td:nth-child(5) { - width: 11%; + width: 16%; + white-space: nowrap; } .opt-history-table th:nth-child(6), .opt-history-table td:nth-child(6) { - width: 20%; + width: 22%; } .opt-history-table th:nth-child(7), .opt-history-table td:nth-child(7) { - width: 8%; + width: 12%; text-align: center; } +.opt-history-table .opt-hist-pnl { + white-space: nowrap; +} .opt-hist-time { font-size: 0.64rem; white-space: nowrap; diff --git a/lib/common/static/options_panel.js b/lib/common/static/options_panel.js index 34bfc1f..466f75e 100644 --- a/lib/common/static/options_panel.js +++ b/lib/common/static/options_panel.js @@ -2586,7 +2586,7 @@ "" + fmt(h.sheets, 0) + "" + "" + premTxt + "" + "" + optHistoryStatusHtml(h) + "" + - '' + pnlTxt + "" + + '' + pnlTxt + "" + '' + timeTxt + "" + '