feat(boards): add responsive layout system (#2271)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-02-23 17:34:56 +01:00
1 parent 2085b5ece2
commit 7761dc29c8
98 files changed
+11770 -1694

No files matched your search

@@ -1,7 +1,7 @@
import type { Item } from "~/app/[locale]/boards/_types";
import type { SectionItem } from "~/app/[locale]/boards/_types";
export const getFirstEmptyPosition = (
elements: Pick<Item, "yOffset" | "xOffset" | "width" | "height">[],
elements: Pick<SectionItem, "yOffset" | "xOffset" | "width" | "height">[],
columnCount: number,
rowCount = 9999,
size: { width: number; height: number } = { width: 1, height: 1 },