From f0e3c5146da8c477209f82e91112596212e2be53 Mon Sep 17 00:00:00 2001 From: "Arthur Detroux (ard)" Date: Tue, 13 Sep 2022 14:42:45 +0000 Subject: [PATCH] [FIX] website: hide the 'discuss' window when in edit mode With [1] moving the website in backend, it is now possible to display a backend discuss chat window while browsing your website. This window is unfortunately hidden behind the SnippetEditor when it is open. The choice was made to hide the chat window when the edit mode is activated, as it could hide some content of the page. Steps to reproduce: - Open a Discuss chat window using the systray item from the app grid - Open website - Click on Edit Chat window is hidden. [1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b task-2687506 closes odoo/odoo#100098 Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/components/editor/editor.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/website/static/src/components/editor/editor.scss b/addons/website/static/src/components/editor/editor.scss index c1e83f6108b..ac17e1f54c6 100644 --- a/addons/website/static/src/components/editor/editor.scss +++ b/addons/website/static/src/components/editor/editor.scss @@ -2,6 +2,9 @@ .o_notification_manager { @include o-position-absolute($top: map-get($spacers, 2), $right: calc(#{$o-we-sidebar-width} + 0.5rem)); } + .o_ChatWindowManager { + display: none !important; + } } .ui-autocomplete.o_website_ui_autocomplete {