@innovastudio/contentbox 1.6.53 → 1.6.55

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.53",
4
+ "version": "1.6.55",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -52,7 +52,7 @@
52
52
  "ws": "^8.13.0"
53
53
  },
54
54
  "dependencies": {
55
- "@innovastudio/contentbuilder": "^1.5.38",
55
+ "@innovastudio/contentbuilder": "^1.5.40",
56
56
  "js-beautify": "^1.14.0"
57
57
  }
58
58
  }
@@ -2085,8 +2085,7 @@ body.frame-center.controlpanel .is-content-view {
2085
2085
  display: none;
2086
2086
  z-index: 1001;
2087
2087
  position: absolute;
2088
- margin-top: 40px;
2089
- top: 12%;
2088
+ top: calc(17% - 14px);
2090
2089
  right: 0px;
2091
2090
  left: auto;
2092
2091
  width: 35px;
@@ -43567,8 +43567,11 @@ const renderSnippetPanel = (builder, snippetOpen) => {
43567
43567
  // return false;
43568
43568
  // }
43569
43569
 
43570
- const wrapper = builder.doc.querySelector(builder.page);
43571
- if (wrapper) wrapper.style.marginLeft = '';
43570
+ // to prevent flicker caused by snippet panel above wrapper (see contentbuilder.js sectionDropSetup)
43571
+ if (builder.page && builder.page === '.is-wrapper') {
43572
+ const wrapper = builder.doc.querySelector(builder.page);
43573
+ if (wrapper) wrapper.style.marginLeft = '';
43574
+ }
43572
43575
  },
43573
43576
  onSort: evt => {
43574
43577
  if (!builder.canvas) return;
@@ -43585,12 +43588,6 @@ const renderSnippetPanel = (builder, snippetOpen) => {
43585
43588
  block.style.left = x + '%';
43586
43589
  block.removeAttribute('data-new-dummy');
43587
43590
  }
43588
-
43589
- // to prevent flicker caused by snippet panel above wrapper (see contentbuilder.js sectionDropSetup)
43590
- if (builder.page && builder.page === '.is-wrapper') {
43591
- const wrapper = builder.doc.querySelector(builder.page);
43592
- if (wrapper) wrapper.style.marginLeft = '';
43593
- }
43594
43591
  },
43595
43592
  onStart: () => {
43596
43593
  // Remove .builder-active during dragging (because this class makes rows have border-right/left 120px)
@@ -150513,8 +150510,7 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
150513
150510
  display: none;
150514
150511
  z-index: 1001;
150515
150512
  position: absolute;
150516
- margin-top: 40px;
150517
- top: 12%;
150513
+ top: calc(17% - 14px);
150518
150514
  right: 0px;
150519
150515
  left: auto;
150520
150516
  width: 35px;