Skip to content

Commit 5cb1631

Browse files
committed
PB-108 add a way to keep content from before this story compatible to this implementation
1 parent ab1d0e7 commit 5cb1631

File tree

6 files changed

+263
-74
lines changed

6 files changed

+263
-74
lines changed

app/code/Magento/PageBuilder/view/adminhtml/pagebuilder/content_type/column.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
</breakpoints>
2424
<parents default_policy="deny">
2525
<parent name="column-line" policy="allow"/>
26+
<parent name="column" policy="allow"/>
2627
</parents>
2728
<children default_policy="allow">
2829
<child name="row" policy="deny"/>
2930
<child name="column" policy="deny"/>
31+
<child name="column-line" policy="deny"/>
3032
</children>
3133
<is_system>false</is_system>
3234
<appearances>

app/code/Magento/PageBuilder/view/adminhtml/pagebuilder/content_type/column_group.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
</parents>
2525
<children default_policy="deny">
2626
<child name="column-line" policy="allow"/>
27+
<child name="column" policy="allow"/>
2728
</children>
2829
<appearances>
2930
<appearance default="true"

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/column-group/_default.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
box-sizing: border-box;
2525
width: 100%;
2626

27+
&.no-column-line {
28+
.element-children {
29+
display:flex;
30+
}
31+
}
32+
2733
.drop-placeholder {
2834
background: rgba(142, 0, 6, .3);
2935
bottom: 0;

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/column/_default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828

2929
.pagebuilder-content-type.pagebuilder-column {
30-
min-height: inherit;
30+
min-height: 150px;
3131

3232
&.empty-container {
3333
min-height: 300px;

0 commit comments

Comments
 (0)