[FIX] mail: padding on chatter message edit

Before this PR a huge padding was present when editing a message
on the chatter. This commit fixes the issue.

task-3458670

closes odoo/odoo#131432

X-original-commit: 332942109b0db7a96da3bd2e7f2cafe19ebb1df3
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
tsm-odoo
2023-08-10 09:12:38 +02:00
parent b1b4120f2a
commit 6b1581da03
2 changed files with 1 additions and 2 deletions
@@ -8,7 +8,6 @@
<div t-ref="composer">
<div class="o-mail-Composer d-grid flex-shrink-0 pt-0"
t-att-class="{
'pt-4': env.inChatter and props.type !== 'message',
'px-3 pb-2': extended and !props.composer.message,
'o-extended': extended,
'o-isUiSmall': ui.isSmall,
+1 -1
View File
@@ -79,7 +79,7 @@
</t>
<t t-set="type" t-value="state.composerType === 'message' ? 'message' : 'note'"/>
<SuggestedRecipientsList t-if="props.hasFollowers and state.composerType !== 'note'" className="'px-3'" styleString="'margin-left:48px;'" thread="state.thread"/>
<Composer composer="state.thread.composer" autofocus="true" mode="'extended'" onPostCallback.bind="onPostCallback" dropzoneRef="rootRef" type="state.composerType"/>
<Composer composer="state.thread.composer" autofocus="true" className="state.composerType === 'message' ? '' : 'pt-4'" mode="'extended'" onPostCallback.bind="onPostCallback" dropzoneRef="rootRef" type="state.composerType"/>
</t>
</div>
<div class="o-mail-Chatter-content">