fix: decouple responsive layout roles from breakpoints
* fix: rework responsive layout breakpoints * fix: keep widget edit overlays visible * fix: inset widget edit action * fix: use valid widget inset token
This commit is contained in:
1 parent
f455e71be5
commit
aa179f1ec0
15 files changed
+56
-142
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user