From f40005b215ccc4316c1cb84f9cd2017612e4832e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=ADaz?= Date: Tue, 8 Oct 2019 18:47:54 +0200 Subject: [PATCH] [IMP] web_responsive: Made chatter input & attachments scrollable --- web_responsive/static/src/css/web_responsive.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web_responsive/static/src/css/web_responsive.scss b/web_responsive/static/src/css/web_responsive.scss index 035b7811b..d227608fb 100644 --- a/web_responsive/static/src/css/web_responsive.scss +++ b/web_responsive/static/src/css/web_responsive.scss @@ -514,6 +514,16 @@ html .o_web_client .o_main .o_main_content { } } + // Scrollable input text to avoid hide conversation & buttons + .o_composer_text_field { + max-height: 120px; + overflow-y: auto !important; /* Forced because Odoo uses inline style */ + } + .o_attachments_list { + overflow: auto; + max-height: $o-mail-attachment-image-size * 3; + margin-top: 0.4em; + } .o_attachments_previews { overflow: auto; max-height: $o-mail-attachment-image-size * 6;