diff --git a/addons/website_sale/static/src/css/ecommerce.css b/addons/website_sale/static/src/css/ecommerce.css index 9a063794f9f..ff916d2c0f4 100644 --- a/addons/website_sale/static/src/css/ecommerce.css +++ b/addons/website_sale/static/src/css/ecommerce.css @@ -71,10 +71,14 @@ .oe_ecommerce .oe_mycart .oe_product { padding: 3px 5px 6px 10px; } -.oe_ecommerce .oe_mycart .oe_product img { - max-width: 64; - max-height: 64; - margin: 0 5px 0px 12px; +.oe_ecommerce .oe_mycart .oe_product > .pull-left { + width: 84px; + height: 64px; +} +.oe_ecommerce .oe_mycart .oe_product > .pull-left img { + max-width: 64px; + max-height: 64px; + margin: auto; } .oe_ecommerce .oe_mycart .oe_product .oe_button_cart { right: 6px; diff --git a/addons/website_sale/static/src/css/ecommerce.sass b/addons/website_sale/static/src/css/ecommerce.sass index 0960c29ce56..1bedf005295 100644 --- a/addons/website_sale/static/src/css/ecommerce.sass +++ b/addons/website_sale/static/src/css/ecommerce.sass @@ -56,10 +56,13 @@ .oe_mycart .oe_product padding: 3px 5px 6px 10px - img - max-width: 64 - max-height: 64 - margin: 0 5px 0px 12px + > .pull-left + width: 84px + height: 64px + img + max-width: 64px + max-height: 64px + margin: auto .oe_button_cart right: 6px top: 6px