@innovastudio/contentbox 1.6.140 → 1.6.141

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.d.ts CHANGED
@@ -224,6 +224,7 @@ interface ContentBoxOptions {
224
224
  absolutePath?: boolean;
225
225
  maxEmbedImageWidth?: number;
226
226
  zoom?: number;
227
+ shiftDisableBreakpoint?: number;
227
228
 
228
229
  shortenHTML?: boolean;
229
230
  advancedTimeline?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.140",
4
+ "version": "1.6.141",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",
@@ -25788,8 +25788,9 @@ class ControlPanel {
25788
25788
 
25789
25789
  open_(what) {
25790
25790
  const viewportWidth = document.documentElement.clientWidth;
25791
+ const shiftDisableBreakpoint = this.builder.shiftDisableBreakpoint !== undefined ? this.builder.shiftDisableBreakpoint : 1322;
25791
25792
 
25792
- if (viewportWidth <= 1322) {
25793
+ if (viewportWidth <= shiftDisableBreakpoint) {
25793
25794
  document.body.classList.add('shift-off');
25794
25795
  } else {
25795
25796
  document.body.classList.remove('shift-off');