pds-dev-kit-web-test 2.7.291 → 2.7.293
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.
|
@@ -408,7 +408,7 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
|
|
|
408
408
|
maxHeight: "".concat(maxHeight, "px"),
|
|
409
409
|
// width: `${canvasWidth}px`,
|
|
410
410
|
maxWidth: maxWidth ? "".concat(maxWidth, "px") : '100%',
|
|
411
|
-
minWidth: "".concat(
|
|
411
|
+
minWidth: "".concat(minWidth, "px")
|
|
412
412
|
};
|
|
413
413
|
var breakpoint = device === 'MOBILE' ? 'sm' : 'lg';
|
|
414
414
|
var onClickCB = function (id) {
|
|
@@ -1079,7 +1079,7 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
|
|
|
1079
1079
|
} }, { children: (0, jsx_runtime_1.jsx)(Responsive, __assign({ sectionId: props.compositionData.id.toString(), innerRef: innerRef, className: (0, clsx_1.clsx)({
|
|
1080
1080
|
'selected-grid-layout': editingSectionId === props.compositionData.id
|
|
1081
1081
|
}), allowOverlap: true, layouts: layouts, resizeHandles: ['nw', 'e', 'n', 'ne', 's', 'se', 'sw', 'w'], breakpoints: breakpoints, breakpoint: breakpoint, cols: { lg: colsDesktop, sm: colsMobile }, rowHeight: rowHeight, margin: [10, 10], style: {
|
|
1082
|
-
|
|
1082
|
+
minWidth: customSectionStyles.minWidth,
|
|
1083
1083
|
maxWidth: customSectionStyles.maxWidth,
|
|
1084
1084
|
// minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
|
|
1085
1085
|
// fontSize: `${baseFontSize}px`
|