[FIX] mail, mass_mailing: chatter should take all width

In some case, we want that chatter takes the all space
available.

Steps to reproduce:
- Go to Email Marketing
- Click on any record
- Go to the Chat tab

closes odoo/odoo#107928

X-original-commit: cbbbc23800e2a00aab9af45087b5d3f7698823d8
Signed-off-by: Pierre Paridans (app) <app@odoo.com>
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
Adrien Dieudonné
2022-12-14 15:36:45 +01:00
parent 5c219ec80e
commit 3d6599ac1f
2 changed files with 5 additions and 5 deletions
@@ -37,11 +37,11 @@
border-top: 1px solid $border-color;
}
&:not(.o-aside) .o_ChatterContainer {
@include make-container-max-widths();
&:not(.o-aside):not(.o-full-width) .o_ChatterContainer {
@include make-container-max-widths();
margin-left: auto;
margin-right: auto;
margin-left: auto;
margin-right: auto;
}
}
@@ -442,7 +442,7 @@
<xpath expr="//div[hasclass('oe_chatter')]" position="move"/>
</xpath>
<xpath expr="//div[hasclass('oe_chatter')]" position="attributes">
<attribute name="class" remove="o-aside"/>
<attribute name="class" remove="o-aside" add="o-full-width" separator=" "/>
</xpath>
<xpath expr="//notebook/page[@name='mail_body']//field[@name='body_arch']" position="attributes">
<attribute name="iframeHtmlClass">o_mass_mailing_iframe</attribute>