From 11c8e94a14ffa406a99edfad5166a325d18f95f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Fri, 26 Aug 2022 13:58:27 +0000 Subject: [PATCH] [FIX] im_livechat: restore fold feature in public livechat Before this commit, folding chat window in public livechat was not working. This is because the title of chat window was 0px of height, so it was impossible to click on it. This commit fixes the issue by letting title take as much vertical area as it is available in the header, so that the header except buttons is clickable to fold the chat window. Task-2964331 closes odoo/odoo#99024 Signed-off-by: Louis Wicket (wil) --- addons/im_livechat/static/src/legacy/public_livechat.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/im_livechat/static/src/legacy/public_livechat.scss b/addons/im_livechat/static/src/legacy/public_livechat.scss index 70d0693458a..2368acc9f79 100644 --- a/addons/im_livechat/static/src/legacy/public_livechat.scss +++ b/addons/im_livechat/static/src/legacy/public_livechat.scss @@ -83,6 +83,7 @@ $o-mail-thread-window-zindex: $zindex-modal + 1 !default; .o_thread_window_title { cursor: pointer; flex: 1 1 auto; + height: 100%; @include o-text-overflow; .o_mail_thread_typing_icon {