From d541cef5b5fe442ff461f06d71f8172dd50fd590 Mon Sep 17 00:00:00 2001 From: Brieuc-brd Date: Tue, 19 Apr 2022 11:08:29 +0000 Subject: [PATCH] [REF] mail: `MessageInReplyToView`, review and simplify scss MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Part of the overall v16 SCSS optimization/restyle, task-2704984 task-2826587 closes odoo/odoo#89032 Signed-off-by: Alexandre Kühn (aku) --- .../message_in_reply_to_view.scss | 15 ++------------- .../message_in_reply_to_view.xml | 5 +++-- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.scss b/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.scss index 86d58f6c3de..5bca610e2af 100644 --- a/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.scss +++ b/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.scss @@ -1,26 +1,15 @@ .o_MessageInReplyToView { - display: block; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; padding-left: $o-mail-message-sidebar-width; } -.o_MessageInReplyToView::before { - @include o-position-absolute($left: $o-mail-message-sidebar-width / 2, $bottom: 0); - content: ""; - display: inline-block; +.o_MessageInReplyToView_corner { + left: $o-mail-message-sidebar-width / 2; border-left: $border-width solid currentColor; border-top: $border-width solid currentColor; border-radius: $o-mail-rounded-rectangle-border-radius-sm 0 0 0; - height: .75em; - width: 2em; - margin-bottom: .25em; - opacity: .5; } .o_MessageInReplyToView_body { - cursor: pointer; @include o-hover-text-color($o-main-color-muted, inherit); // Make the body single line when possible diff --git a/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.xml b/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.xml index 75fb4467437..4323060bc81 100644 --- a/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.xml +++ b/addons/mail/static/src/components/message_in_reply_to_view/message_in_reply_to_view.xml @@ -2,10 +2,11 @@ - + + @ - +