[FIX] mail: fix image ratio on composer and thread preview
task-2318662 closes odoo/odoo#57522 X-original-commit: 1cd5712ff7f04b2fdb185f4fe78dbd3f4f75b801 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com> Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -214,6 +214,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.o_Composer_currentPartnerAvatar {
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.o_Composer_textInput {
|
||||
appearance: none;
|
||||
outline: none;
|
||||
|
||||
@@ -80,6 +80,10 @@
|
||||
@include o-mail-notification-list-item-date-style();
|
||||
}
|
||||
|
||||
.o_NotificationGroup_image {
|
||||
@include o-mail-notification-list-item-image-style();
|
||||
}
|
||||
|
||||
.o_NotificationGroup_markAsRead {
|
||||
@include o-mail-notification-list-item-mark-as-read-style();
|
||||
}
|
||||
|
||||
@@ -145,6 +145,10 @@ $o-mail-notification-list-item-muted-hover-background-color:
|
||||
color: $o-brand-primary;
|
||||
}
|
||||
|
||||
@mixin o-mail-notification-list-item-image-style {
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
@mixin o-mail-notification-list-item-mark-as-read-style() {
|
||||
opacity: 0;
|
||||
|
||||
|
||||
@@ -64,6 +64,10 @@
|
||||
@include o-mail-notification-list-item-core-style();
|
||||
}
|
||||
|
||||
.o_NotificationRequest_image {
|
||||
@include o-mail-notification-list-item-image-style();
|
||||
}
|
||||
|
||||
.o_NotificationRequest_name {
|
||||
@include o-mail-notification-list-item-bold-style();
|
||||
}
|
||||
|
||||
+4
@@ -91,6 +91,10 @@
|
||||
@include o-mail-notification-list-item-date-style();
|
||||
}
|
||||
|
||||
.o_ThreadNeedactionPreview_image {
|
||||
@include o-mail-notification-list-item-image-style();
|
||||
}
|
||||
|
||||
.o_ThreadNeedactionPreview_markAsRead {
|
||||
@include o-mail-notification-list-item-mark-as-read-style();
|
||||
}
|
||||
|
||||
@@ -100,6 +100,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.o_ThreadPreview_image {
|
||||
@include o-mail-notification-list-item-image-style();
|
||||
}
|
||||
|
||||
.o_ThreadPreview_markAsRead {
|
||||
@include o-mail-notification-list-item-mark-as-read-style();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user