[FIX] mail: attachment button in chatter mobile should not wrap
Before this commit, the attachment button had icon and label on different lines in mobile, which made the chatter topbar bigger in height than it should. closes odoo/odoo#123098 X-original-commit: 1afe20789fcf197ccc0a240d39d57d10e1f1454a Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
</t>
|
||||
|
||||
<t t-name="mail.Chatter.attachFiles" owl="1">
|
||||
<button class="btn btn-link text-action px-1" aria-label="Attach files" t-att-class="{ 'my-2': !props.compactHeight }" t-on-click="onClickAddAttachments">
|
||||
<button class="btn btn-link text-action px-1 d-flex" aria-label="Attach files" t-att-class="{ 'my-2': !props.compactHeight }" t-on-click="onClickAddAttachments">
|
||||
<i class="fa fa-paperclip fa-lg me-1"/>
|
||||
<span t-if="attachments.length > 0" t-esc="attachments.length"/>
|
||||
<i t-if="!state.thread.areAttachmentsLoaded and state.thread.isLoadingAttachments" class="fa fa-circle-o-notch fa-spin" aria-label="Attachment counter loading..."/>
|
||||
|
||||
Reference in New Issue
Block a user