[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:
Nguyen Hong Quang
2022-07-21 01:53:28 +02:00
parent 3cc0fb8339
commit 53ebbf92b4
@@ -316,6 +316,7 @@
&.avatar.o_clickable_m2x_avatar {
img.o_m2m_avatar {
margin-right: 0px;
object-fit: cover;
}
}
}