@innovastudio/contentbox 1.5.22 → 1.5.23
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
@@ -4626,6 +4626,7 @@ class EditSection {
|
|
4626
4626
|
|
4627
4627
|
let boxes = section.querySelectorAll('.is-box');
|
4628
4628
|
boxes.forEach(box => {
|
4629
|
+
box.classList.add('box-autofit');
|
4629
4630
|
let bAlreadyHasMinHeight = false;
|
4630
4631
|
box.classList.forEach(item => {
|
4631
4632
|
if (item.indexOf('min-height') !== -1) {
|
@@ -4633,9 +4634,8 @@ class EditSection {
|
|
4633
4634
|
}
|
4634
4635
|
});
|
4635
4636
|
|
4636
|
-
if (
|
4637
|
-
box.classList.add('
|
4638
|
-
box.classList.add('min-height-50');
|
4637
|
+
if (box.querySelector('.is-overlay-bg')) {
|
4638
|
+
if (!bAlreadyHasMinHeight) box.classList.add('min-height-50');
|
4639
4639
|
}
|
4640
4640
|
});
|
4641
4641
|
}
|