1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00

Update default grid size to 200x200

This commit is contained in:
Andrew Kingston 2024-08-05 19:31:35 +01:00
parent e91607acb1
commit 5101cca197
No known key found for this signature in database

View file

@ -83,8 +83,8 @@ export const gridLayout = (node, metadata) => {
const hAlign = errored ? "stretch" : definition?.grid?.hAlign || "stretch"
const vAlign = errored ? "stretch" : definition?.grid?.vAlign || "center"
const vars = {
"--default-width": errored ? 500 : definition.size?.width || 100,
"--default-height": errored ? 60 : definition.size?.height || 100,
"--default-width": errored ? 500 : definition.size?.width || 200,
"--default-height": errored ? 60 : definition.size?.height || 200,
"--grid-desktop-h-align": hAlign,
"--grid-mobile-h-align": hAlign,
"--grid-desktop-v-align": vAlign,