App nutzt volle Desktop-Breite
This commit is contained in:
1 parent
4158a4cb58
commit
05437ab10a
1 file changed
+10
@@ -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");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user