fix(boards): disable mobile sidebars (#6565)

This commit is contained in:
Thomas authored and ajnart committed 2026-08-13 19:56:00 +02:00
1 parent f0747fd28b
commit 3b6de1f91f
3 files changed
+38 -2

No files matched your search

@@ -42,4 +42,17 @@ describe("board layout gutters", () => {
}).success,
).toBe(false);
});
test("rejects sidebars on mobile layouts", () => {
expect(
boardLayoutSchema.safeParse({
id: "mobile",
name: "Mobile",
columnCount: 6,
leftGutterColumnCount: 1,
breakpoint: 0,
role: "mobile",
}).success,
).toBe(false);
});
});