[FIX] mail: restores the chatter's ability to grow in FormView

The commit odoo/odoo@babf7634e0 broke a
previous fix in odoo/odoo@6228500a3f
allowing the chatter to grow beyond its original size.

This commit restores the `flex-grow: 1` on the chatter's container but
also limit its maximum width (like in saas-15.3) to avoid it becoming
unreadable.

closes odoo/odoo#102767

X-original-commit: 3db27dc6c2e22b2b86650d1828f8e52929c43df6
Signed-off-by: Pierre Paridans (app) <app@odoo.com>
Signed-off-by: Romain Estievenart (res) <res@odoo.com>
This commit is contained in:
Romain Estievenart
2022-10-08 12:31:57 +02:00
committed by Pierre Paridans
parent 97533b6d8d
commit dd4f5eb44c
@@ -11,14 +11,15 @@
}
&.o-aside {
--Chatter-max-width: #{$o-chatter-min-width};
--Chatter-max-width: #{$o-form-view-sheet-max-width};
--ChatterTopbar-padding-left: #{$o-horizontal-padding};
--ChatterTopbar-padding-right: #{$o-horizontal-padding};
flex-shrink: 0;
flex-grow: 0;
flex-grow: 1;
border-left: $border-width solid;
padding: map-get($spacers, 0);
max-width: var(--Chatter-max-width);
min-width: $o-chatter-min-width;
width: auto;