App nutzt volle Desktop-Breite
Docker Image / test (push) Successful in 1m52s
Docker Image / image (push) Successful in 30s

This commit is contained in:
loki committed 2026-10-18 15:24:40 +02:00
1 parent 4158a4cb58
commit 05437ab10a
1 file changed
+10
+10
View File
@@ -22,3 +22,13 @@ describe("einheitliche Tabellenköpfe", () => {
}
});
});
describe("appweite Breite", () => {
test("App nutzt volle Desktop-Breite mit mobilen Abständen", () => {
const appBlock = css.slice(css.indexOf(".app {"));
const appRule = appBlock.slice(0, appBlock.indexOf("}"));
expect(appRule).toContain("max-width: 1400px");
const mobileBlock = css.slice(css.indexOf("@media (max-width: 860px)"));
expect(mobileBlock).toContain("padding: 1rem 1rem 3rem");
});
});