diff --git a/addons/mail/static/src/components/message/message.scss b/addons/mail/static/src/components/message/message.scss
index 77fa479967b..38af3664ccd 100644
--- a/addons/mail/static/src/components/message/message.scss
+++ b/addons/mail/static/src/components/message/message.scss
@@ -2,29 +2,15 @@
// Layout
// ------------------------------------------------------------------
-// TODO : When the migration to BS5 for the backend AND the frontend
-// will be done, we could use BS5 classes to handle the position values
-// (eg. position-absolute top-0 end-0 mt-n3)
.o_Message_actionListContainer {
- @include o-position-absolute($top: - map-get($spacers, 3), $right: 0);
z-index: 10; // Place the element in front of the Composer when they overlap
}
-.o_Message_authorAvatar {
- object-fit: cover;
-}
-
.o_Message_authorAvatarContainer {
height: $o-mail-thread-avatar-size;
width: $o-mail-thread-avatar-size;
}
-.o_Message_authorName {
- // Could be replaced by "me-2" after the migration to BS5
- // for the backend AND the frontend
- margin-inline-end: map-get($spacers, 2);
-}
-
.o_Message_content {
*:not(li):not(li div) {
// Message content can contain arbitrary HTML that might overflow and break
@@ -45,47 +31,17 @@
.o_Message_core {
min-width: 0; // allows this flex child to shrink more than its content
- // Could be replaced by "me-4" after the migration to BS5
- // for the backend AND the frontend
- margin-inline-end: map-get($spacers, 4);
-}
-
-.o_Message_headerDate {
- // Could be replaced by "me-2" after the migration to BS5
- // for the backend AND the frontend
- margin-inline-end: map-get($spacers, 2);
}
.o_Message_highlightIndicator {
- // Could be replaced by "position absolute top-0 start-0"
- // after the migration to BS5 for the backend AND the frontend
- @include o-position-absolute($top: 0, $left: 0);
width: $o-mail-discuss-message-highlight-indicator-width;
transition: background-color .5s ease-out;
}
-.o_Message_originThread {
- // Could be replaced by "me-2" after the migration to BS5
- // for the backend AND the frontend
- margin-inline-end: map-get($spacers, 2);
-}
-
-.o_Message_personaImStatusIcon {
- // Could be replaced by "position absolute bottom-0 end-0"
- // after the migration to BS5 for the backend AND the frontend
- @include o-position-absolute($bottom: 0, $right: 0);
-}
-
.o_Message_prettyBody > p {
margin-bottom: 0;
}
-.o_Message_seenIndicator {
- // Could be replaced by "me-1" after the migration to BS5
- // for the backend AND the frontend
- margin-inline-end: map-get($spacers, 1);
-}
-
.o_Message_sidebar {
flex-basis: $o-mail-message-sidebar-width;
max-width: $o-mail-message-sidebar-width;
@@ -111,10 +67,6 @@
}
}
-.o_Message_originThreadLink {
- font-size: 1.25em; // original size
-}
-
// Used to hide buttons on rating emails in chatter
// FIXME: should use a better approach for not having such buttons
// in chatter of such messages, but keep having them in emails.
diff --git a/addons/mail/static/src/components/message/message.xml b/addons/mail/static/src/components/message/message.xml
index a103cf15bc3..3622f66c3a3 100644
--- a/addons/mail/static/src/components/message/message.xml
+++ b/addons/mail/static/src/components/message/message.xml
@@ -26,18 +26,18 @@
t-ref="root"
>