@innovastudio/contentbuilder 1.5.120 → 1.5.121
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
@@ -5220,25 +5220,23 @@ class Util {
|
|
5220
5220
|
if (item.classList.contains('is-row-tool')) return;
|
5221
5221
|
if (item.classList.contains('is-col-tool')) return;
|
5222
5222
|
if (item.classList.contains('is-rowadd-tool')) return;
|
5223
|
+
item.style.width = '';
|
5224
|
+
item.style.flex = '';
|
5225
|
+
// if(item.getAttribute('data-html')) {
|
5226
|
+
// // Don't change width on custom block
|
5227
|
+
// if(!item.style.width) { // But if width is not set, add default 50%
|
5228
|
+
// item.style.width = '50%';
|
5229
|
+
// item.style.flex = '0 0 auto';
|
5230
|
+
// }
|
5231
|
+
// if(this.getAllColumns(row).length === 1) { // only 1 col in a row
|
5232
|
+
// item.style.width = '';
|
5233
|
+
// item.style.flex = '';
|
5234
|
+
// }
|
5235
|
+
// } else {
|
5236
|
+
// item.style.width = '';
|
5237
|
+
// item.style.flex = '';
|
5238
|
+
// }
|
5223
5239
|
|
5224
|
-
// item.style.width = '';
|
5225
|
-
// item.style.flex = '';
|
5226
|
-
if (item.getAttribute('data-html')) {
|
5227
|
-
// Don't change width on custom block
|
5228
|
-
if (!item.style.width) {
|
5229
|
-
// But if width is not set, add default 50%
|
5230
|
-
item.style.width = '50%';
|
5231
|
-
item.style.flex = '0 0 auto';
|
5232
|
-
}
|
5233
|
-
if (this.getAllColumns(row).length === 1) {
|
5234
|
-
// only 1 col in a row
|
5235
|
-
item.style.width = '';
|
5236
|
-
item.style.flex = '';
|
5237
|
-
}
|
5238
|
-
} else {
|
5239
|
-
item.style.width = '';
|
5240
|
-
item.style.flex = '';
|
5241
|
-
}
|
5242
5240
|
if (item.classList.contains('sm-hidden')) {
|
5243
5241
|
smHidden = true;
|
5244
5242
|
}
|