Skip to content

Commit 9f661c6

Browse files
#715: Content type label is over option menu when parallax enabled
1 parent 34ec713 commit 9f661c6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/row/contained/preview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<div class="pagebuilder-affordance-row pagebuilder-content-type pagebuilder-content-type-affordance"
1212
ko-style="getStyle(data.inner, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight'])"
1313
event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
14+
<div class="pagebuilder-display-label"
15+
text="function () { return displayLabel().toUpperCase(); }()"/>
1416
<div class="pagebuilder-content-type no-system-border type-container pagebuilder-row children-min-height"
1517
attr="data.inner.attributes"
1618
ko-style="Object.assign({}, getStyleWithout(data.inner, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight']), {backgroundImage: getBackgroundImage()})"
@@ -37,7 +39,5 @@
3739
css="placeholderCss()"
3840
translate="'Drag content types or columns here'"/>
3941
</div>
40-
<div class="pagebuilder-display-label"
41-
text="function () { return displayLabel().toUpperCase(); }()"/>
4242
</div>
4343
</div>

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/row/full-bleed/preview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<div class="pagebuilder-affordance-row pagebuilder-content-type pagebuilder-content-type-affordance"
99
ko-style="getStyle(data.main, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight'])"
1010
event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
11+
<div class="pagebuilder-display-label"
12+
text="function () { return displayLabel().toUpperCase(); }()"/>
1113
<div class="pagebuilder-content-type type-container no-system-border pagebuilder-row children-min-height"
1214
attr="data.main.attributes"
1315
ko-style="Object.assign({}, getStyleWithout(data.main, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight']), {backgroundImage: getBackgroundImage()})"
@@ -34,6 +36,4 @@
3436
css="placeholderCss()"
3537
translate="'Drag content types or columns here'"/>
3638
</div>
37-
<div class="pagebuilder-display-label"
38-
text="function () { return displayLabel().toUpperCase(); }()"/>
3939
</div>

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/row/full-width/preview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<div class="pagebuilder-affordance-row pagebuilder-content-type pagebuilder-content-type-affordance"
99
ko-style="getStyle(data.main, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight'])"
1010
event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
11+
<div class="pagebuilder-display-label"
12+
text="function () { return displayLabel().toUpperCase(); }()"/>
1113
<div class="pagebuilder-content-type pagebuilder-row type-container no-system-border children-min-height"
1214
attr="data.main.attributes"
1315
ko-style="Object.assign({}, getStyleWithout(data.main, ['marginTop', 'marginBottom', 'marginLeft', 'marginRight']), {backgroundImage: getBackgroundImage()})"
@@ -34,6 +36,4 @@
3436
css="placeholderCss()"
3537
translate="'Drag content types or columns here'"/>
3638
</div>
37-
<div class="pagebuilder-display-label"
38-
text="function () { return displayLabel().toUpperCase(); }()"/>
3939
</div>

0 commit comments

Comments
 (0)