fix: move action status tooltip to top edge

This commit is contained in:
YBF
2026-09-14 01:56:18 +08:00
parent e55c25069f
commit 8184a86827
2 changed files with 2 additions and 1 deletions
@@ -88,7 +88,7 @@ const createStatusContainer = (document: Document): HTMLDivElement => {
container.setAttribute("role", "status");
container.style.cssText = [
"position: fixed",
"top: 76px",
"top: 0",
"left: 50%",
"transform: translateX(-50%)",
"z-index: 2147483647",
@@ -80,6 +80,7 @@ test("starts one neutral status row and does not duplicate its id", () => {
const container = pageWindow.document.body.children[0];
assert.equal(container.getAttribute("aria-live"), "polite");
assert.match(container.style.cssText, /position: fixed/u);
assert.match(container.style.cssText, /top: 0/u);
assert.match(container.style.cssText, /pointer-events: none/u);
assert.equal(container.children.length, 1);
assert.equal(container.children[0].textContent, "正在收集所有对话历史");