Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix product page
Krzysztof Białogłowiczbb913ca171f3
diff --git a/saleor/static/scss/storefront/components/_product-page.scss b/saleor/static/scss/storefront/components/_product-page.scssindex ebf4d8833c..69a5e35401 100644--- a/saleor/static/scss/storefront/components/_product-page.scss+++ b/saleor/static/scss/storefront/components/_product-page.scss@@ -20,15 +20,15 @@}&__gallery {.carousel-control {- &.right, &.left {- background-image: none;- }- &.left {+ &-prev {img {transform: rotate(180deg);}}}+ .carousel-item {+ flex-flow: column;+ }.carousel-indicators {top: 100%;width: auto;@@ -36,8 +36,9 @@margin-left: 0;li {display: inline;+ text-indent: 0;+ margin: 0 1.5rem;&.active {- margin: 1px;img {opacity: 0.5;}diff --git a/templates/product/details.html b/templates/product/details.htmlindex 3c47af76a5..1f094e1262 100644--- a/templates/product/details.html+++ b/templates/product/details.html@@ -30,7 +30,8 @@{% endif %}<div itemscope itemtype="http://schema.org/Product"><div class="row product">- <div class="col-xs-12 col-md-5 float-md-right text-xs-center text-md-left">+ <div class="col-xs-12 col-md-7"></div>+ <div class="col-xs-12 col-md-5"><h1 itemprop="name" class="product__info__name">{{ product }}</h1>@@ -69,15 +70,15 @@<div class="carousel-inner" role="listbox">{% for image in images %}<div class="carousel-item{% if forloop.first %} active{% endif %}">- <img src="{% get_thumbnail image.image method="crop" size="750x750" %}" alt="">+ <img class="d-block img-fluid" src="{% get_thumbnail image.image method="crop" size="750x750" %}" alt=""></div>{% endfor %}</div>{% if images|length > 1 %}- <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">+ <a class="carousel-control-prev" href="#carousel-example-generic" role="button" data-slide="prev"><img class="icon-next" src="{% static "img/gallery-arrow.svg" %}"></a>- <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">+ <a class="carousel-control-next" href="#carousel-example-generic" role="button" data-slide="next"><img class="icon-next" src="{% static "img/gallery-arrow.svg" %}"></a>{% endif %}