summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.backend.less
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-03-15 13:26:38 +0100
committerNicolas Lempereur <nle@odoo.com>2018-03-15 17:12:57 +0100
commit7f216f62b681e7fe891ca81abdb3927cdb5841f5 (patch)
tree53fe95f59da9d887c5b513d2b3a8aa04cf4e6239 /addons/web_editor/static/src/less/web_editor.backend.less
parent3dd93ed129f8061ccb7b6044b78656d8c628be31 (diff)
[FIX] web_editor: modal fullscreen is fullscreen
Depending on CSS surrounding the editor, the fullscreen component could fail to set the editor fullscreen. eg. if the editor is in a modal in a modal (ie. when editing a mail template when adding an activity and creating a marketing automation campaign) the fullscreen function would set it to 184px height away 30px to the screen top. With this change, `transform` css property is unset on parent elements of the editor, this was causing the absolute editor to have an offset parent that was not the body tag. opw-1824605 closes #23682
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.backend.less')
-rw-r--r--addons/web_editor/static/src/less/web_editor.backend.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.backend.less b/addons/web_editor/static/src/less/web_editor.backend.less
index c5e09875529..ea94ebed30d 100644
--- a/addons/web_editor/static/src/less/web_editor.backend.less
+++ b/addons/web_editor/static/src/less/web_editor.backend.less
@@ -52,9 +52,9 @@
position: static !important;
top: 0 !important;
left: 0 !important;
- overflow: visible !important;
width: auto !important;
overflow: hidden !important;
+ transform: none !important;
}
}