@innovastudio/contentbox 1.5.26 → 1.5.27

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.5.26",
4
+ "version": "1.5.27",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -4688,8 +4688,7 @@ class EditSection {
4688
4688
  let divVisibility = this.modalEditSection.querySelector('.div-visibility');
4689
4689
  let target = this.builder.editor.responsive.readTarget(divTarget);
4690
4690
  let valVisibility = this.builder.editor.responsive.getVisibility(section, target);
4691
- this.builder.editor.responsive.showVisibility(divVisibility, valVisibility); // const divColsPerLine = this.modalEditSection.querySelector('.div-boxesperline');
4692
-
4691
+ this.builder.editor.responsive.showVisibility(divVisibility, valVisibility);
4693
4692
  let btns = this.modalEditSection.querySelectorAll('.input-boxesperline');
4694
4693
  btns.forEach(btn => {
4695
4694
  btn.classList.remove('on');
@@ -4915,12 +4914,15 @@ class EditSection {
4915
4914
 
4916
4915
 
4917
4916
  this.realtimeVisibility(activeSection, true);
4917
+ const divBoxesPerLine = modalEditSection.querySelector('.div-boxesperline');
4918
4918
  const divReverseBoxes = modalEditSection.querySelector('#divReverseBoxes');
4919
4919
 
4920
4920
  if (activeSection.querySelectorAll('.is-box').length > 1) {
4921
4921
  divReverseBoxes.style.display = 'flex';
4922
+ divBoxesPerLine.style.display = 'flex';
4922
4923
  } else {
4923
4924
  divReverseBoxes.style.display = 'none';
4925
+ divBoxesPerLine.style.display = 'none';
4924
4926
  }
4925
4927
  }
4926
4928