fix: keep mobile board widgets unchanged

This commit is contained in:
ajnart committed 2026-08-13 19:55:30 +02:00
1 parent e93f14acdf
commit 9887c018d2
24 files changed
+719 -77

No files matched your search

@@ -7,7 +7,7 @@ export const getFirstEmptyPosition = (
size: { width: number; height: number } = { width: 1, height: 1 },
) => {
for (let yOffset = 0; yOffset < rowCount + 1 - size.height; yOffset++) {
for (let xOffset = 0; xOffset < columnCount; xOffset++) {
for (let xOffset = 0; xOffset < columnCount + 1 - size.width; xOffset++) {
const isOccupied = elements.some(
(element) =>
element.yOffset < yOffset + size.height &&