Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Front end fixes
weronkaf7aec0c20355
diff --git a/saleor/static/js/components/categoryPage/CategoryPage.js b/saleor/static/js/components/categoryPage/CategoryPage.jsindex 701f95d6ac..0420c9ac68 100644--- a/saleor/static/js/components/categoryPage/CategoryPage.js+++ b/saleor/static/js/components/categoryPage/CategoryPage.js@@ -117,7 +117,7 @@ class CategoryPage extends Component {<div className="category-page"><div className="category-top"><div className="row">- <div className="col-md-8">+ <div className="col-md-7"><ul className="category-breadcrumbs hidden-sm-down"><li><a href="/">{gettext('Home')}</a></li>{category.ancestors && (category.ancestors.map((ancestor) => {@@ -128,15 +128,15 @@ class CategoryPage extends Component {<li><a href={category.url}>{category.name}</a></li></ul></div>- <div className="col-md-4">+ <div className="col-md-5"><div className="row">- <div className="col-6 col-md-2 col-lg-6 filters-menu">+ <div className="col-5 col-md-2 col-lg-6 filters-menu"><span className="filters-menu-label hidden-sm-up" onClick={() => this.toggleMenu(filtersMenu)}>{gettext('Filters')}</span>{(variables.attributesFilter.length || variables.minPrice || variables.maxPrice) && (<span className="filters-menu-icon hidden-sm-up"></span>)}</div>- <div className="col-6 col-md-10 col-lg-6">+ <div className="col-7 col-md-10 col-lg-6"><SortBy sortedValue={variables.sortBy} setSorting={this.setSorting} /></div></div>diff --git a/saleor/static/scss/storefront/components/_category-page.scss b/saleor/static/scss/storefront/components/_category-page.scssindex 0d403aa4e9..55aedf50d2 100644--- a/saleor/static/scss/storefront/components/_category-page.scss+++ b/saleor/static/scss/storefront/components/_category-page.scss@@ -67,7 +67,7 @@}}ul {- width: 20rem;+ width: 24rem;list-style: none;background: $light-gray;box-shadow: 3px 3px 3px 0px rgba($gray, 0.75);diff --git a/saleor/static/scss/storefront/components/_home.scss b/saleor/static/scss/storefront/components/_home.scssindex d87c68d89a..31e6b131fe 100644--- a/saleor/static/scss/storefront/components/_home.scss+++ b/saleor/static/scss/storefront/components/_home.scss@@ -17,7 +17,9 @@display: table-cell;text-align: center;vertical-align: middle;- color: white+ color: white;+ padding-left: $global-padding;+ padding-right: $global-padding;}&--content {position: absolute;diff --git a/saleor/static/scss/storefront/components/_login.scss b/saleor/static/scss/storefront/components/_login.scssindex 177f287b77..e0be266727 100644--- a/saleor/static/scss/storefront/components/_login.scss+++ b/saleor/static/scss/storefront/components/_login.scss@@ -36,9 +36,6 @@&__register {padding: $global-padding * 2;&-link {- a {- max-width: 12rem;- }img {margin: $global-margin / 2 auto $global-margin * 0.9;display: block;diff --git a/templates/base.html b/templates/base.htmlindex 7f71f85288..0c065d2fa8 100644--- a/templates/base.html+++ b/templates/base.html@@ -76,7 +76,7 @@<span>{% trans "menu" context "Hamburger button text" %}</span></div><a href="/">- <img src="{% static "images/saleor-logo-black.svg" %}" alt="Testeor - Saleor demo store" height="38">+ <img src="{% static "images/saleor-logo-black.svg" %}" alt="Saleor demo store" height="38"></a></div><div class="col-2 col-md-4 navbar__search static">@@ -156,7 +156,7 @@<div class="row"><div class="col-md-3"><a href="/">- <img class="footer__logo" src="{% static "images/saleor-logo.svg" %}" height="40" alt="Testeor - Saleor demo store">+ <img class="footer__logo" src="{% static "images/saleor-logo.svg" %}" height="40" alt="Saleor demo store"></a></div><div class="col-md-3 col-sm-6">diff --git a/templates/checkout/details.html b/templates/checkout/details.htmlindex ca4c05c413..7747d31a8b 100644--- a/templates/checkout/details.html+++ b/templates/checkout/details.html@@ -14,7 +14,7 @@<div class="container"><a href="/"><img src="{% static "images/saleor-logo-black.svg" %}"- alt="{% trans "Testeor - Saleor demo store" context "Checkout logo alternate text" %}"+ alt="{% trans "Saleor demo store" context "Checkout logo alternate text" %}"height="38"></a><h1>{% trans "Checkout" context "Checkout title" %}</h1>diff --git a/templates/home.html b/templates/home.htmlindex 306a16e39c..ecc70f606b 100644--- a/templates/home.html+++ b/templates/home.html@@ -11,7 +11,7 @@<div class="home--content-wrapper"><div class="home--content-inner"><h1>{% trans "Promo & Sale" context "Homepage title" %}</h1>- <h2>{% trans "form the Northpole" context "Homepage title" %}</h2>+ <h2>{% trans "from the Northpole" context "Homepage title" %}</h2><a class="btn btn-secondary home__button" href="#">{% trans "Shop now" context "Homepage action" %}</a>diff --git a/templates/product/details.html b/templates/product/details.htmlindex 76ed5c2a3e..5cfc877202 100644--- a/templates/product/details.html+++ b/templates/product/details.html@@ -127,7 +127,9 @@{% else %}<p class="alert alert-warning">- {% trans "This product is currently <strong>unavailable</strong>." context "Product details text" %}+ {% blocktrans context "Product details text" %}+ This product is currently <strong>unavailable</strong>.+ {% endblocktrans %}</p>{% endif %}<div class="product__info__description">diff --git a/templates/search/results.html b/templates/search/results.htmlindex 02ac03de0b..2df3da2ffe 100644--- a/templates/search/results.html+++ b/templates/search/results.html@@ -30,7 +30,7 @@{% else %}<div class="row no-results"><div class="col-12">- <h2>Search: <strong>{{ query }}</strong></h2>+ <h2>{% trans "Search:" %} <strong>{{ query }}</strong></h2><img src="{% static 'images/pirate.svg' %}" /><p>{% trans "Sorry, no matches found for your request." context "Search without results text" %}</p><p>{% trans "Try again or shop new arrivals." context "Search without results text" %}</p>