工具卡时间入折叠体、全屏查看自动展开并支持双指缩放

This commit is contained in:
2026-09-02 15:22:58 +08:00
parent 1c0fd5c909
commit ea6373846d
3 changed files with 36 additions and 8 deletions
+3 -1
View File
@@ -172,7 +172,7 @@ body {
#fs-body .msg-bubble { box-shadow: none; font-size: 15.5px; }
#fs-body .tool-card { max-width: 100%; }
#fs-body .tool-card pre { max-height: 65vh; }
#fs-viewer { position: fixed; inset: 0; z-index: 130; background: rgba(8,10,20,0.88); padding: 40px 14px 24px; overflow-y: auto; }
#fs-viewer { position: fixed; inset: 0; z-index: 130; background: rgba(8,10,20,0.88); padding: 40px 14px 24px; overflow: auto; /* 缩放后支持横纵滚动 */ }
#fs-viewer.hidden { display: none; }
.fs-panel { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 18px 20px; font-size: 15.5px; }
.fs-close {
@@ -196,6 +196,8 @@ body {
white-space: pre-wrap; overflow-x: auto; max-height: 300px; overflow-y: auto;
font-size: 12px; color: #55492a;
}
/* 时间行在折叠体内,展开才可见;作卡片尾注 */
.tool-card .tool-time { color: #b3a97f; margin-top: 6px; }
.tool-card.error { background: #fdecea; border-color: #f2c4bd; color: #a3352a; }
.tool-card .spin { display: inline-block; width: 1em; text-align: center; }
.tool-card .tool-args-full { color: #6b5b2a; }