[FIX] mail: missing spacing in Messaging Menu 'New Message'

Follow-up of [1]

PR above made several improvements to Messaging Menu, especially
in mobile.

By mistake, it removes the spacing between "All"|"Chats"|"Channels"
and "New Message" in desktop.

This commit re-adds this spacing with `div.flex-grow-1`.

[1]: https://github.com/odoo/odoo/pull/140405

closes odoo/odoo#142186

Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
This commit is contained in:
Alexandre Kühn
2023-11-15 15:03:58 +00:00
parent f10e7e01e4
commit fbcab1fccc
@@ -2,6 +2,7 @@
<templates xml:space="preserve">
<t t-inherit="mail.MessagingMenu.content" t-inherit-mode="extension">
<xpath expr="//div[hasclass('o-mail-MessagingMenu-header')]" position="inside">
<div class="flex-grow-1"/>
<t t-if="ui.isSmall and (store.discuss.activeTab !== 'main' or !env.inDiscussApp)">
<div t-if="state.addingChat or state.addingChannel" class="w-100 p-1 bg-light" t-ref="selector">
<t t-if="state.addingChat" t-set="category" t-value="store.discuss.chats"/>