summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2021-02-12 12:49:45 +0000
committerNicolas Lempereur <nle@odoo.com>2021-02-12 12:51:42 +0000
commitd4a2e6cda246b498f604ac5765a5ef5d0041a577 (patch)
tree70bfbead46b95b01b93e4361917e9aff292f1415 /addons/web_editor/static/src/scss
parenta257e0ede12ead06c0f8dba90c3868761da6ea71 (diff)
[FIX] web_editor: content under top bar in iframe
In ff81fa479 there was some refactoring for change of structure on frontend, but for the iframe editor (eg. mass mailing), this caused that the top edition bar was over the content. opw-2426400 closes odoo/odoo#66068 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss')
-rw-r--r--addons/web_editor/static/src/scss/wysiwyg_iframe.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/scss/wysiwyg_iframe.scss b/addons/web_editor/static/src/scss/wysiwyg_iframe.scss
index e7554317994..4e00d0bb719 100644
--- a/addons/web_editor/static/src/scss/wysiwyg_iframe.scss
+++ b/addons/web_editor/static/src/scss/wysiwyg_iframe.scss
@@ -17,6 +17,10 @@ iframe.wysiwyg_iframe.o_fullscreen {
body.o_in_iframe {
background-color: $o-view-background-color;
+ &.editor_enable {
+ padding-top: var(--o-we-toolbar-height) !important;
+ }
+
.note-statusbar {
display: none;
}