From 8f43b5096467c02255a4ca7d6a6908fcd6d6279a Mon Sep 17 00:00:00 2001 From: Markus Bertheau Date: Sun, 30 Nov 2014 20:05:25 +0100 Subject: [PATCH] Use grid gutter padding for product pod price box The the grid gutter padding was removed with .no-padding only on the main catalogue browse page, leaving search results, recent products on detail view and a number of other pages that have product pod lists in them with a double padding. Part of #1569 --- oscar/static/oscar/less/page/product_lists.less | 10 +--------- oscar/templates/oscar/catalogue/browse.html | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/oscar/static/oscar/less/page/product_lists.less b/oscar/static/oscar/less/page/product_lists.less index 9b552014366..75ab0145429 100644 --- a/oscar/static/oscar/less/page/product_lists.less +++ b/oscar/static/oscar/less/page/product_lists.less @@ -5,13 +5,6 @@ ul { margin-left:0; padding-left:0; list-style: none; - - &.no-padding { - [class*="col-"] { - padding-left: 0; - padding-right: 0; - } - } } } @@ -56,8 +49,7 @@ ul { .product_price { position:absolute; bottom:0; - left:5%; - width:90%; + width: 100%; } } diff --git a/oscar/templates/oscar/catalogue/browse.html b/oscar/templates/oscar/catalogue/browse.html index 1e8ff207941..3a836885b54 100644 --- a/oscar/templates/oscar/catalogue/browse.html +++ b/oscar/templates/oscar/catalogue/browse.html @@ -93,7 +93,7 @@

{% trans "Refine by" %}

{% if products %}
-
    +
      {% for product in products %}
    1. {% render_product product %}
    2. {% endfor %}