Skip to content

Commit b33414f

Browse files
committed
MC-5432: Right/Left Margin Not Working For Content Types
- Contained Row Appearance Renders Too Small When In Smaller Container or in Block/Dynamic Block
1 parent 28a01e8 commit b33414f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@
55

66
//
77
// Contained row appearance styles
8-
// _____________________________________________
8+
// _______________________________
99

1010
[data-role='row'][data-appearance='contained'] {
1111
margin-left: auto;
1212
margin-right: auto;
13-
max-width: 90%;
14-
padding-left: 20px;
15-
padding-right: 20px;
16-
width: @layout__max-width;
13+
max-width: @layout__max-width;
1714
}

app/code/Magento/PageBuilder/view/frontend/web/css/source/content-type/row/_contained.less

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@
1212
margin-left: auto !important;
1313
margin-right: auto !important;
1414
max-width: @layout__max-width;
15-
padding-left: 20px;
16-
padding-right: 20px;
1715
}

0 commit comments

Comments
 (0)