feat: add fixed board scaling

This commit is contained in:
ajnart committed 2026-09-08 12:37:51 +02:00
1 parent 9d857377c1
commit ecc1009e23
36 files changed
+8654 -41

No files matched your search

+3
View File
@@ -21,6 +21,7 @@ import {
backgroundImageAttachments,
backgroundImageRepeats,
backgroundImageSizes,
BOARD_FIXED_ITEM_SIZE_DEFAULT,
emptySuperJSON,
} from "@homarr/definitions";
import type {
@@ -299,6 +300,8 @@ export const boards = pgTable("board", {
customCss: text(),
iconColor: text(),
itemRadius: text().$type<MantineSize>().default("lg").notNull(),
fixedScaling: boolean().default(false).notNull(),
fixedItemSize: smallint().default(BOARD_FIXED_ITEM_SIZE_DEFAULT).notNull(),
disableStatus: boolean().default(false).notNull(),
});