From fb1c4f12c5436726ebcb258ea3a5622a66af4ad4 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 13 Oct 2020 15:47:31 +0000 Subject: [PATCH] [FIX] web_editor: remove useless code breaking the editor scrolling Since the editor panel is placed on the right, the content was not possible to scroll when in a iframe, like for mass mailing. This was because of some strange code introduced with [1]. As the problem the mentioned commit says fixing is still fixed without that code, I see no reason to keep this... especially since it may introduce difference between readonly and editmode content. [1]: https://github.com/odoo/odoo/commit/f9bf408a827fa86323bc2d1891cb5173b4781e7b closes odoo/odoo#59927 X-original-commit: 58ade8c0e17be14fb5bf9cef592c9b9225d21b6d Signed-off-by: Quentin Smetz (qsm) --- addons/web_editor/static/src/scss/wysiwyg_iframe.scss | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/addons/web_editor/static/src/scss/wysiwyg_iframe.scss b/addons/web_editor/static/src/scss/wysiwyg_iframe.scss index 5eab0815225..e7554317994 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_iframe.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_iframe.scss @@ -20,12 +20,4 @@ body.o_in_iframe { .note-statusbar { display: none; } - - #wrapwrap { - position: relative; - display: table; - table-layout: fixed; - width: 100%; - height: 100%; - } -} \ No newline at end of file +}