fix(web): 聊天列表恢复项目符号,收紧定义列表,压思考条间距(BUG-962/963/964)
This commit is contained in:
@@ -80,7 +80,24 @@ test("shows honest agent activity states before and during streamed text", () =>
|
||||
assert.doesNotMatch(messageRowSource, /vargaSentence=\{showThinkingPanel \? null : vargaSentence\}/);
|
||||
assert.match(messageRowSource, /<ConsultationRunTimeline[\s\S]*vargaSentence=\{vargaSentence\}/);
|
||||
assert.match(globalStyles, /\.message-stage-and-answer/);
|
||||
assert.match(globalStyles, /\.message-stage-and-answer \{[\s\S]*gap: var\(--space-2\)/);
|
||||
// 原值: gap: var(--space-2)
|
||||
// 新值: gap: var(--consult-think-answer-gap)
|
||||
// 原因: BUG-964 思考条与正文间距由同一 token 决定(12px),不再各写各的
|
||||
assert.match(globalStyles, /\.message-stage-and-answer \{[\s\S]*gap: var\(--consult-think-answer-gap\)/);
|
||||
assert.match(globalStyles, /\.consultation-thinking-report \{[\s\S]*gap: var\(--consult-think-answer-gap\)/);
|
||||
assert.match(globalStyles, /--consult-think-answer-gap:\s*var\(--space-3\)/);
|
||||
assert.match(
|
||||
globalStyles,
|
||||
/\.conversation:not\(\.is-empty\):not\(\.is-rectification\) \.message-markdown > \*:first-child \{[\s\S]*margin-top:\s*0/,
|
||||
);
|
||||
assert.match(globalStyles, /\.message-markdown ul\.markdown-list \{[\s\S]*list-style-type:\s*disc/);
|
||||
assert.match(globalStyles, /\.message-markdown ol\.markdown-list \{[\s\S]*list-style-type:\s*decimal/);
|
||||
assert.match(globalStyles, /\.markdown-list[^{]*\{[^}]*list-style/);
|
||||
assert.match(
|
||||
globalStyles,
|
||||
/\.conversation:not\(\.is-empty\):not\(\.is-rectification\) \.message-markdown \.markdown-list \{[\s\S]*gap:\s*var\(--space-2\)/,
|
||||
);
|
||||
assert.match(globalStyles, /\.markdown-list ::marker \{[\s\S]*color:\s*var\(--color-ink-secondary\)/);
|
||||
assert.match(globalStyles, /\.agent-activity-status \+ \.message-answer/);
|
||||
// Former lock: `<ThinkingOrb aria-hidden="true" state={state} size={20}` — the canvas orb was a
|
||||
// second live-marker vocabulary next to the timeline's InlineSpinner (BUG-476). One marker now.
|
||||
|
||||
Reference in New Issue
Block a user