Skip to content

Commit 22dfc06

Browse files
committed
MC-2363: Add vertical alignment and min height to row configuration
- Update template include syntax
1 parent 61c66b1 commit 22dfc06

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/row/default

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/row/default/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
-->
77

88
<div class="pagebuilder-content-type type-container pagebuilder-row children-min-height" data-bind="attr: data.main.attributes, style: data.main.style, css: Object.assign(data.main.css(), {'empty-container': parent.children().length == 0, 'jarallax': data.main.attributes()['data-enable-parallax'] == 1}), event: {mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false, afterRender: function (element) { setTimeout(function () { initParallax.call($data, element); }, 0) }">
9-
<!-- ko template: getOptions().template --><!-- /ko -->
9+
<render args="getOptions().template"></render>
1010
<div class="element-children content-type-container" each="parent.getChildren()" ko-style="data.container.style" css="getChildrenCss()" attr="{id: parent.id + '-children'}" data-bind="sortable: getSortableOptions()" afterRender="function (element) { if (typeof afterChildrenRender === 'function') { afterChildrenRender(element); } }">
1111
<if args="$parent.isContainer()">
1212
<div class="pagebuilder-drop-indicator"></div>

0 commit comments

Comments
 (0)