Skip to content

Commit aeac5be

Browse files
committed
MAGETWO-92697: Add vertical alignment to column configuration
- stabilize test: fix column padding and row height
1 parent b90cae4 commit aeac5be

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderColumnTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
<argument name="contentType" value="PageBuilderColumnContentType"/>
4646
<argument name="index" value="1"/>
4747
<argument name="containerDefaultHeight" value="PageBuilderEmptyColumnHeightProperty"/>
48-
<argument name="expectedPaddingTop" value="PageBuilderAdvancedMarginsAndPaddingPropertyDefault"/>
49-
<argument name="expectedPaddingBottom" value="PageBuilderAdvancedMarginsAndPaddingPropertyDefault"/>
48+
<argument name="expectedPaddingTop" value="PageBuilderPaddingProperty10"/>
49+
<argument name="expectedPaddingBottom" value="PageBuilderPaddingProperty10"/>
5050
</actionGroup>
5151
<executeJS function="{{PageBuilderActionsSection.computedHeightOnStage(PageBuilderColumnContentType.role,'1')}}" stepKey="actualStageInitialColumnHeight"/>
5252
<comment userInput="Validate Row Height adjusts to Column Height" stepKey="commentValidateRowHeightAdjustToColumn"/>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@
4141

4242
&.empty-container {
4343
min-height: 300px;
44+
45+
> .element-children {
46+
margin-bottom: 1px;
47+
}
4448
}
4549
}

0 commit comments

Comments
 (0)