From b357b7d70f5c7d9f4eee47a2ffa23b6e3c3182c5 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 decd12684..3e00758f2 100644 --- a/web_responsive/static/src/css/web_responsive.scss +++ b/web_responsive/static/src/css/web_responsive.scss @@ -506,6 +506,16 @@ html .o_web_client .o_action_manager .o_action { z-index: 1; overflow-x: auto; + // 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;