publ-echo-test 0.0.309 → 0.0.311
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.
@@ -47,7 +47,7 @@ var GridItem = function (_a) {
|
|
47
47
|
if (!targetNode || isDragging || isResizing) {
|
48
48
|
return;
|
49
49
|
}
|
50
|
-
if (targetNode.
|
50
|
+
if (targetNode.classList.contains("ccb-layout-box")) {
|
51
51
|
return;
|
52
52
|
}
|
53
53
|
var prevPaddingL = parseFloat(getComputedStyle(targetNode).paddingLeft);
|
@@ -130,9 +130,7 @@ var Resizable = function (_a) {
|
|
130
130
|
var isContentsList = target.id === "contentslist-box";
|
131
131
|
var layoutBox = target.children[0];
|
132
132
|
var contentsWrapper = layoutBox.children[0];
|
133
|
-
var oneComposition = contentsWrapper.children[0].children[0].children[0];
|
134
|
-
console.log("children", contentsWrapper.children[0]);
|
135
|
-
console.log("one composition", oneComposition);
|
133
|
+
var oneComposition = contentsWrapper.children[0].children[0].children[0].children[2];
|
136
134
|
if (!isContentsList || !oneComposition) {
|
137
135
|
return;
|
138
136
|
}
|
@@ -177,12 +175,6 @@ var Resizable = function (_a) {
|
|
177
175
|
(numberOfColumns - 1) * columnGap +
|
178
176
|
paddingLR +
|
179
177
|
compositionWrapperPaddingLR;
|
180
|
-
console.log("oneCompositionMinWidth", oneCompositionMinWidth);
|
181
|
-
console.log("cols", numberOfColumns);
|
182
|
-
console.log("listMinWidth", listMinWidth);
|
183
|
-
console.log("one-composition", oneComposition);
|
184
|
-
console.log("minCellWidth;", minCellWidth);
|
185
|
-
console.log("compositionCols", compositionCols);
|
186
178
|
var numberOfRows = Math.ceil(numberOfItems / numberOfColumns);
|
187
179
|
var gridWrapperTotalH = gridWrapperInnerH + insetTop + insetBottom;
|
188
180
|
var listMinHeight = oneCompositionMinHeight * numberOfRows +
|