Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix breadcrumbs on add image page, fix styles

weronkac7d184004239
diff --git a/saleor/static/scss/dashboard.scss b/saleor/static/scss/dashboard.scss
index c547319f91..a16e384f1a 100644
--- a/saleor/static/scss/dashboard.scss
+++ b/saleor/static/scss/dashboard.scss
@@ -31,8 +31,7 @@ header {
}
.menu-toggle {
background-color: $primary-color;
- transition: all 0.5s ease;
- position: absolute;
+ position: absolute;
width: 237px;
z-index: 999;
&.fixed {
diff --git a/templates/dashboard/base.html b/templates/dashboard/base.html
index dbd603bd7b..621420bee8 100644
--- a/templates/dashboard/base.html
+++ b/templates/dashboard/base.html
@@ -58,7 +58,7 @@
<li class="{% block menu_delivery_class %}{% endblock %}"><a href="{% url 'dashboard:shipping-methods' %}">{% trans "Shipping methods" %}</a></li>
</ul>
<ul>
- <li class="fixed menu-toggle">
+ <li class="menu-toggle">
<ul>
<li><a href="#" id="open-menu" class="show-on-large"><i class="material-icons">menu</i></a></li>
<li><a href="#" id="close-menu" class="show-on-large hide"><i class="material-icons">clear</i></a></li>
diff --git a/templates/dashboard/product/product_image_form.html b/templates/dashboard/product/product_image_form.html
index d9e91f6dae..776ecb8cce 100644
--- a/templates/dashboard/product/product_image_form.html
+++ b/templates/dashboard/product/product_image_form.html
@@ -22,11 +22,11 @@
{% block breadcrumbs %}
<ul class="breadcrumbs breadcrumbs--history">
- <li><a href="{% url "dashboard:product-list" %}"><i class="material-icons">keyboard_arrow_left</i></a></li>
+ <li><a href="{% url "dashboard:product-list" %}"><i class="material-icons">first_page</i></a></li>
<li><a href="{% url "dashboard:product-update" pk=product.pk %}#images" class="breadcrumbs--ellipsed-item">{{ product }}</a></li>
<li class="back-mobile"><a href="{% url "dashboard:product-update" pk=product.pk %}#images"><i class="material-icons">chevron_left</i></a></li>
{% if product_image.pk %}
- <li>{{ product_image.image }}</li>
+ <li><span class="breadcrumbs--ellipsed-item">{{ product_image.image }}</span></li>
{% else %}
<li>
<span class="hide-on-med-and-down">{% trans "Add image" %}</span>