[IMP] mail: wrong image size on mail preview on mobile
Before this commit, the displayed images with 'o_mail_preview_image' class were not correctly displayed (some icon were distorted). Note that this is a minor issue that was already present on older versions. closes odoo/odoo#37161 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
@@ -356,11 +356,13 @@
|
||||
border-bottom: 1px solid gray('400');
|
||||
}
|
||||
.o_mail_preview_image {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 0 0 auto;
|
||||
position: relative;
|
||||
> img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user