[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:
Christophe Matthieu
2015-09-21 13:45:36 +02:00
parent a41f915493
commit e4866f830e
2 changed files with 4 additions and 1 deletions
@@ -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;
+1 -1
View File
@@ -42,7 +42,7 @@
</script>
<t t-raw="head or ''"/>
</head>
<body onload="var fn=window.top.odoo &amp;&amp; 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 &amp;&amp; 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"/>