fix: rework responsive layout breakpoints

This commit is contained in:
ajnart committed 2026-08-28 15:44:25 +02:00
1 parent f455e71be5
commit e716f847ab
11 files changed
+47 -135

No files matched your search

+2 -2
View File
@@ -143,8 +143,8 @@ export const seedProtectedBoardLayoutsAsync = async (db: Database, boardId?: str
}
}
const mobileLayout = normalizedLayouts[0];
const baseLayout = normalizedLayouts.at(-1);
const mobileLayout = normalizedLayouts.find((layout) => layout.role === "mobile");
const baseLayout = normalizedLayouts.find((layout) => layout.role === "base");
if (mobileLayout && baseLayout) {
await insertMissingProjectedPositionsAsync(
db,