[FIX] point_of_sale: correctly show image that have a little ratio
Current behavior: When a product image has a little ratio (height > width), the image looks like it's zoomed in. opw-3133037 closes odoo/odoo#111496 X-original-commit: 9cd35d940f4c60401bdc2e1dd84efc950cd0e584 Signed-off-by: Trinh Jacky (trj) <trj@odoo.com> Signed-off-by: Engels Robin (roen) <roen@odoo.com>
This commit is contained in:
@@ -1157,7 +1157,7 @@ td {
|
||||
.pos .product .product-img img {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
|
||||
Reference in New Issue
Block a user