@compill/admin 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -1136,7 +1136,7 @@ function Internal({
1136
1136
  errorMsg: (error, item) => `Error updating ${item.title}: ${error}`
1137
1137
  });
1138
1138
  let editorMaxW = undefined;
1139
- if (type == "post") editorMaxW = "calc(1280px - 30rem)";else if (type == "section") editorMaxW = "calc(1280px - 22rem)";
1139
+ if (!type || type == "post") editorMaxW = "calc(1280px - 28rem)";else if (type == "section") editorMaxW = "calc(1280px - 22rem)";
1140
1140
  return jsxRuntime.jsxs(form.FormProvider, {
1141
1141
  initialValues: react.runIfFn(initialValues, item),
1142
1142
  validationSchema: schema,
package/index.esm.js CHANGED
@@ -1127,7 +1127,7 @@ function Internal({
1127
1127
  errorMsg: (error, item) => `Error updating ${item.title}: ${error}`
1128
1128
  });
1129
1129
  let editorMaxW = undefined;
1130
- if (type == "post") editorMaxW = "calc(1280px - 30rem)";else if (type == "section") editorMaxW = "calc(1280px - 22rem)";
1130
+ if (!type || type == "post") editorMaxW = "calc(1280px - 28rem)";else if (type == "section") editorMaxW = "calc(1280px - 22rem)";
1131
1131
  return jsxs(FormProvider, {
1132
1132
  initialValues: runIfFn(initialValues, item),
1133
1133
  validationSchema: schema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compill/admin",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "module": "./index.esm.js",
5
5
  "main": "./index.cjs.js"
6
6
  }