Skip to content

Commit 28ec3f3

Browse files
committed
PB-108 add static styles to column line
1 parent dae5093 commit 28ec3f3

File tree

2 files changed

+3
-0
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml

2 files changed

+3
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
<attribute name="name" source="data-content-type"/>
3232
<attribute name="appearance" source="data-appearance"/>
3333
<attribute name="grid_size" source="data-grid-size"/>
34+
<static_style source="display" value="flex"/>
35+
<static_style source="width" value="100%"/>
3436
</element>
3537
</elements>
3638
</appearance>

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/column-line/default/master.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<div class="pagebuilder-column-line"
99
attr="data.main.attributes"
10+
ko-style="data.main.style"
1011
css="data.main.css">
1112
<render args="masterTemplate"></render>
1213
</div>

0 commit comments

Comments
 (0)