[FIX] mail: scroll-down to older messages

- 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) <aku@odoo.com>
This commit is contained in:
Jorge Pinna Puissant
2023-11-24 23:57:31 +00:00
parent 2b875c5870
commit ee0b81b06d
@@ -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);
}