整理测试代码并清理文档引用
This commit is contained in:
@@ -88,4 +88,11 @@ describe("Login protocol agreement", () => {
|
||||
expect(source).toContain("已安全退出");
|
||||
expect(source).toContain(".logout-notice");
|
||||
});
|
||||
|
||||
it("keeps the login card wide enough on desktop while remaining responsive", () => {
|
||||
const source = readLoginView();
|
||||
|
||||
expect(source).toContain("width: clamp(480px, 34vw, 560px);");
|
||||
expect(source).toContain("max-width: calc(100vw - 40px);");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user