[FIX] web: fix ratio in many2many_avatar widget
Currently in many2many_avatar widget, image shrink with that container, make avatar user looking weird. Specially with vertical portrait image and 1:1 ratio image. This PR will fix this kind of bug UI. closes odoo/odoo#96439 X-original-commit: 486b7f92318e64242613a07ea5ff365748dd713b Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -316,6 +316,7 @@
|
||||
&.avatar.o_clickable_m2x_avatar {
|
||||
img.o_m2m_avatar {
|
||||
margin-right: 0px;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user