Skip to content

Commit 1d18c04

Browse files
committed
MC-5025: Right/Left Margin Not Working For Content Types
- allow margins to decrease width to fit in parent
1 parent ac1eae1 commit 1d18c04

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
// */
55

66
.pagebuilder-content-type {
7-
display: inline-block;
7+
display: block;
88
font-size: 14px;
9-
width: 100%;
9+
1010
[contenteditable=true] {
1111
-webkit-user-select: text;
1212
overflow-wrap: break-word;

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@
1616
width: initial;
1717
max-width: 100%;
1818
}
19-
20-
> .element-children {
21-
width: 100%;
22-
}
2319
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
height: 300px;
1212
}
1313
[data-role='map'] {
14-
display: inline-block;
14+
display: block;
1515
height: 300px;
16-
width: 100%;
1716
}

0 commit comments

Comments
 (0)