Skip to content

Commit c78a6fb

Browse files
committed
MC-17658: Save Selected Block/Dynamic Block In Edit Form By Only Clicking Select Button
- Remove button toolbar and increase margin between heading and content
1 parent 0dc0eed commit c78a6fb

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

app/code/Magento/PageBuilder/view/adminhtml/ui_component/pagebuilder_block_form.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,9 @@
130130
<listens>
131131
<link name="pagebuilder_block_select_grid.pagebuilder_block_select_grid.columns.ids:lastSelected">closeModal</link>
132132
</listens>
133+
<modalClass>pagebuilder-block-modal</modalClass>
133134
<options>
134135
<option name="title" xsi:type="string" translate="true">Select Block</option>
135-
<option name="buttons" xsi:type="array">
136-
<item name="0" xsi:type="array">
137-
<item name="text" xsi:type="string" translate="true">Cancel</item>
138-
<item name="actions" xsi:type="array">
139-
<item name="0" xsi:type="string">closeModal</item>
140-
</item>
141-
</item>
142-
</option>
143136
</options>
144137
</settings>
145138
<insertListing name="pagebuilder_block_select_grid" sortOrder="10">

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,7 @@
7070
}
7171
}
7272
}
73+
74+
.pagebuilder-block-modal {
75+
margin-top: 15px;
76+
}

0 commit comments

Comments
 (0)