quick fix for the shopping cart display
authorFrédéric van der Essen <fva@openerp.com>
Wed, 31 Jul 2013 08:13:04 +0000 (10:13 +0200)
committerFrédéric van der Essen <fva@openerp.com>
Wed, 31 Jul 2013 08:13:04 +0000 (10:13 +0200)
bzr revid: fva@openerp.com-20130731081304-1j2p1o13e061ka1q

addons/website_sale/static/src/css/ecommerce.css
addons/website_sale/static/src/css/ecommerce.sass

index 42d72a4..baad5b4 100644 (file)
   display: none;
 }
 .oe_ecommerce .oe_mycart .oe_product {
-  padding: 3px 5px 6px 10px;
+  display: inline-block;
+  width: 250px;
+  margin-left: 0px;
+  float: none;
+  margin-right: 16px;
+  padding: 8px 5px 6px 10px;
 }
 .oe_ecommerce .oe_mycart .oe_product > .pull-left {
   width: 84px;
@@ -79,9 +84,9 @@
   margin: auto;
 }
 .oe_ecommerce .oe_mycart .oe_product .oe_button_cart {
+  position: static;
   right: 6px;
   top: 6px;
-  text-align: right;
 }
 .oe_ecommerce .oe_mycart form input {
   margin-bottom: 0;
index 25735c4..69862c8 100644 (file)
           display: none
   .oe_mycart
     .oe_product
-      padding: 3px 5px 6px 10px
+      display: inline-block
+      width: 250px
+      margin-left: 0px
+      float: none
+      margin-right: 16px
+      padding: 8px 5px 6px 10px
       > .pull-left
         width: 84px
         height: 64px
@@ -65,9 +70,9 @@
           max-height: 64px
           margin: auto
       .oe_button_cart
+        position: static
         right: 6px
         top: 6px
-        text-align: right
     form
       input
         margin-bottom: 0