From ee0b81b06d7549d382db2ac7a46f1e793eb32e86 Mon Sep 17 00:00:00 2001 From: Jorge Pinna Puissant Date: Thu, 23 Nov 2023 10:25:34 +0100 Subject: [PATCH] [FIX] mail: scroll-down to older messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Open a record with the chatter (a task for instance); - Zoom your browser until the chatter is inline with the task (as it is the case on mobile) - Write a big message. Before this commit, the composer takes all the allowed place on the screen, and we cannot see or scroll-down to the older messages. Now, the behavior is the same as is done in mobile, the composer stays sticky, but it will not take all the allowed place, and leave place to see and scroll-down the older messages. opw-3593032 closes odoo/odoo#143427 X-original-commit: 26e8c0a74b9f0adb728c1d76ec7f45ec12623f6c Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/core/common/composer.scss | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/mail/static/src/core/common/composer.scss b/addons/mail/static/src/core/common/composer.scss index be567c17f23..dcc7c94f45c 100644 --- a/addons/mail/static/src/core/common/composer.scss +++ b/addons/mail/static/src/core/common/composer.scss @@ -47,11 +47,7 @@ resize: none; line-height: 1.42857143 !important; // so that input is rounded to 20px = 14px (base font) * 1.42857143 (line-height) - .o-extended:not(.o-isUiSmall) & { - max-height: 400px; - } - - .o-extended.o-isUiSmall & { + .o-extended & { max-height: Min(400px, 30vh); }