{beamAvatarPalettes.map((palette, index) => (
diff --git a/frontend/tests/account-dialog-overlay.test.ts b/frontend/tests/account-dialog-overlay.test.ts
index 2ce39809..5fa0182c 100644
--- a/frontend/tests/account-dialog-overlay.test.ts
+++ b/frontend/tests/account-dialog-overlay.test.ts
@@ -127,6 +127,15 @@ test("the settings pane menu separates hover from current without an accent bar"
for (const rule of hoverRules) assert.ok(!rule.includes('[aria-current="page"]'), `current and hover must be separate rules: ${rule}`);
});
+test("settings navigation uses two columns without a misleading chevron", () => {
+ const overlay = readFileSync(new URL("../src/components/account-dialog-overlay.tsx", import.meta.url), "utf8");
+ const styles = readFileSync(new URL("../src/app/globals.css", import.meta.url), "utf8");
+ assert.doesNotMatch(overlay, / {
// T8.1 / E13: the 880px dialog leaves ~690px of content, which pulls a one-column
// form apart. The cap is applied per pane, inside the content box.
@@ -149,7 +158,8 @@ test("form panes get a reading-width cap, list panes stay full-bleed", () => {
}
const cap = cssDeclarations(".settings-dialog-content--form > *", styles);
- assert.match(cap, /max-width:\s*4[2-6]\dpx/, "cap belongs in the 420-460px reading-width band");
+ // 原值:420–460px;新值:560px;原因:右侧内容区增加内边距后,资料表单仍需使用舒适的阅读宽度,避免右侧留下过大的空白。
+ assert.match(cap, /max-width:\s*560px/, "cap uses the wider 560px reading width");
assert.match(cap, /margin-right:\s*auto/, "capped content is left aligned");
});
diff --git a/frontend/tests/chart-library-other-profile.test.ts b/frontend/tests/chart-library-other-profile.test.ts
index a674ce42..72cd126d 100644
--- a/frontend/tests/chart-library-other-profile.test.ts
+++ b/frontend/tests/chart-library-other-profile.test.ts
@@ -110,6 +110,8 @@ test("the chart library starts as a list and only renders a form after a view ch
assert.match(charts, /useState\(CHART_LIBRARY_LIST_VIEW\)/);
assert.doesNotMatch(list, /ChartProfileForm|