Skip to content

Commit 1593f34

Browse files
committed
#558: Developer can style content types output differently per viewport - Removed inline styles from column group
1 parent 26ccd06 commit 1593f34

File tree

2 files changed

+11
-2
lines changed
  • app/code/Magento/PageBuilder/view
    • adminhtml/web/template/content-type/column-group/default
    • frontend/web/css/source/content-type/column-group

2 files changed

+11
-2
lines changed

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

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

88
<div class="pagebuilder-column-group"
9-
attr="data.main.attributes"
10-
style="display: flex;">
9+
attr="data.main.attributes">
1110
<render args="masterTemplate"/>
1211
</div>

app/code/Magento/PageBuilder/view/frontend/web/css/source/content-type/column-group/_default.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
// * See COPYING.txt for license details.
44
// */
55

6+
//
7+
// Column group styles
8+
// _____________________________________________
9+
10+
& when (@media-common = true) {
11+
.pagebuilder-column-group {
12+
display: flex;
13+
}
14+
}
15+
616
//
717
// Mobile (style-m.css)
818
// _____________________________________________

0 commit comments

Comments
 (0)