From 61f64c0166622eb54352464b49a46cdc95f71791 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Tue, 13 Mar 2018 08:17:42 +0100 Subject: [FIX] web_editor: FieldHTML: break long words to prevent them from overflowing the form sheet. --- addons/web_editor/static/src/less/web_editor.backend.less | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/web_editor/static/src/less/web_editor.backend.less') 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 3d222e1fa94..c5e09875529 100644 --- a/addons/web_editor/static/src/less/web_editor.backend.less +++ b/addons/web_editor/static/src/less/web_editor.backend.less @@ -19,6 +19,7 @@ margin: 0; padding: 0; border: 0; + word-wrap: break-word; } } .oe_form_field_html iframe { -- cgit v1.2.3 From 7f216f62b681e7fe891ca81abdb3927cdb5841f5 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Thu, 15 Mar 2018 13:26:38 +0100 Subject: [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 --- addons/web_editor/static/src/less/web_editor.backend.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web_editor/static/src/less/web_editor.backend.less') 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; } } -- cgit v1.2.3