Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix product list styles, classes
Krzysztof Białogłowicz6bf745122f3f
diff --git a/saleor/static/js/components/ProductFilters.js b/saleor/static/js/components/ProductFilters.jsindex 51253fd1b8..b1aebeca94 100644--- a/saleor/static/js/components/ProductFilters.js+++ b/saleor/static/js/components/ProductFilters.js@@ -80,16 +80,16 @@ class ProductFilters extends Component {render() {const { attributes } = this.props;return (- <div>+ <div className="attributes">{attributes && (attributes.map((attribute) => {return (- <div key={attribute.id} className="attribute">- <ul className={attribute.name}>+ <div key={attribute.id} className={attribute.name}>+ <ul><h3>{attribute.display}</h3>{attribute.values.map((value) => {return (- <li key={value.id}>- <label >+ <li key={value.id} className="item">+ <label><input id={"attr"+attribute.pk+value.pk} type="checkbox" value="" onClick={(event) => this.onClick(attribute.pk, value.pk, event)} />{value.display}</label>diff --git a/saleor/static/scss/demo/components/_category-page.scss b/saleor/static/scss/demo/components/_category-page.scssindex 55fcb6dd4c..364d39fff0 100644--- a/saleor/static/scss/demo/components/_category-page.scss+++ b/saleor/static/scss/demo/components/_category-page.scss@@ -16,6 +16,16 @@}}}+ .attributes {+ ul {+ li {+ label {+ cursor: pointer;+ outline: 0;+ }+ }+ }+ }.price-range {input {width: 7.6rem;