Skip to content

Commit 5885066

Browse files
committed
Merge remote-tracking branch 'chaika/MC-17948' into Chaika-2019-09-12-CE
2 parents 4808977 + e3bedcf commit 5885066

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

app/code/Magento/Newsletter/view/adminhtml/templates/preview/iframeswitcher.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<iframe
1818
name="preview_iframe"
1919
id="preview_iframe"
20+
class="preview_iframe"
2021
frameborder="0"
2122
title="<?= $block->escapeHtmlAttr(__('Preview')) ?>"
2223
width="100%"

app/design/adminhtml/Magento/backend/web/css/styles-old.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4060,6 +4060,16 @@
40604060
}
40614061
}
40624062

4063+
.newsletter-template-preview {
4064+
height: 100%;
4065+
.cms-revision-preview {
4066+
height: 100%;
4067+
.preview_iframe {
4068+
height: calc(~'100% - 50px');
4069+
}
4070+
}
4071+
}
4072+
40634073
.admin__scope-old {
40644074
.buttons-set {
40654075
margin: 0 0 15px;

0 commit comments

Comments
 (0)