From 05437ab10ab3a06c7a15a6eb38469297ac0dd6d0 Mon Sep 17 00:00:00 2001 From: Lokman Date: Sun, 18 Oct 2026 15:24:40 +0200 Subject: [PATCH] App nutzt volle Desktop-Breite --- src/app/table-style.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app/table-style.test.ts b/src/app/table-style.test.ts index 9967fac..45ba17d 100644 --- a/src/app/table-style.test.ts +++ b/src/app/table-style.test.ts @@ -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"); + }); +});