@innovastudio/contentbox 1.5.26 → 1.5.28
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/package.json
CHANGED
|
@@ -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);
|
|
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
|
|
|
@@ -5230,6 +5232,9 @@ class EditSection {
|
|
|
5230
5232
|
dom$m.removeClass(activeSection, 'box-space-sm');
|
|
5231
5233
|
dom$m.removeClass(activeSection, 'box-space-m');
|
|
5232
5234
|
dom$m.removeClass(activeSection, 'box-space-lg');
|
|
5235
|
+
dom$m.removeClass(activeSection, 'stack-top');
|
|
5236
|
+
dom$m.removeClass(activeSection, 'stack-middle');
|
|
5237
|
+
dom$m.removeClass(activeSection, 'stack-bottom');
|
|
5233
5238
|
divSectionSpaceSettings.style.display = 'none';
|
|
5234
5239
|
} else {
|
|
5235
5240
|
dom$m.addClass(activeSection, 'box-space');
|