[FIX] mass_mailing: remove the wrong scrollbar in html field
Add "web_editor_inside_iframe" id in web_editor iframe template to apply css style only when the field is in html field. Remove "content" css media query in iframe editor to remove scrollbar.
This commit is contained in:
@@ -172,6 +172,9 @@ fieldset[disabled] #o_newsletter_popup .btn.btn-success.active {
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
|
||||
}
|
||||
#web_editor_inside_iframe #o_newsletter_popup .o_popup_modal_content:before {
|
||||
content: none;
|
||||
}
|
||||
#o_newsletter_popup .o_popup_modal_content .o_popup_modal_header {
|
||||
background: #6c1153;
|
||||
padding: 5px;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</script>
|
||||
<t t-raw="head or ''"/>
|
||||
</head>
|
||||
<body onload="var fn=window.top.odoo && window.top.odoo[callback+'_content']; if(fn) {fn();} else {console.warn('Please don\'t open iframe without the odoo backend');}">
|
||||
<body id="web_editor_inside_iframe" onload="var fn=window.top.odoo && window.top.odoo[callback+'_content']; if(fn) {fn();} else {console.warn('Please don\'t open iframe without the odoo backend');}">
|
||||
<div id="wrapwrap">
|
||||
<main>
|
||||
<t t-raw="0"/>
|
||||
|
||||
Reference in New Issue
Block a user