[REF] mail: MessageAuthorPrefix, review and simplify scss

Part of the overall v16 SCSS optimization/restyle, task-2704984

task-2826482

closes odoo/odoo#89002

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Brieuc-brd
2022-04-19 15:33:49 +02:00
parent 0fc93fb1e4
commit 8edc8c5768
2 changed files with 1 additions and 12 deletions
@@ -1,11 +0,0 @@
// ------------------------------------------------------------------
// Layout
// ------------------------------------------------------------------
.o_MessageAuthorPrefixIcon {
margin-right: map-get($spacers, 1);
}
// ------------------------------------------------------------------
// Style
// ------------------------------------------------------------------
@@ -6,7 +6,7 @@
<span class="o_MessageAuthorPrefix" t-attf-class="{{ className }}" t-ref="root">
<t t-if="messageAuthorPrefixView.message">
<t t-if="messageAuthorPrefixView.message.author and messageAuthorPrefixView.message.author === messaging.currentPartner">
<i class="o_MessageAuthorPrefixIcon fa fa-mail-reply"/>You:
<i class="o_MessageAuthorPrefixIcon fa fa-mail-reply me-1"/>You:
</t>
<t t-elif="messageAuthorPrefixView.thread and messageAuthorPrefixView.message.author !== messageAuthorPrefixView.thread.correspondent">
<t t-esc="messageAuthorPrefixView.message.author.nameOrDisplayName"/>: