From c8b21aafe7405ec1a76a771dd6a21199ba69cb01 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 10 Jul 2013 17:13:13 +0200 Subject: [PATCH] [IMP] website_sale: css bzr revid: chm@openerp.com-20130710151313-mj1zbli3fd02ahf5 --- addons/website_sale/static/src/css/ecommerce.css | 12 ++++++++---- addons/website_sale/static/src/css/ecommerce.sass | 11 +++++++---- 2 files changed, 15 insertions(+), 8 deletions(-) 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