Skip to content

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

Fix product images buttons

Krzysztof Białogłowicz9baaa743c3f7
diff --git a/saleor/static/scss/dashboard/variables.scss b/saleor/static/scss/dashboard/variables.scss
index 2138e3fa75..ec68579ce7 100644
--- a/saleor/static/scss/dashboard/variables.scss
+++ b/saleor/static/scss/dashboard/variables.scss
@@ -20,6 +20,7 @@ $error-color: #F44336;
$link-color: #039be5;
$grey-color: #9e9e9e;
$sidenav-font-color: #616161;
+$placeholder-text-color: white;
/*** PADDINGS ***/
diff --git a/templates/dashboard/product/product_form.html b/templates/dashboard/product/product_form.html
index 9bf6134d1d..57e380a4dc 100644
--- a/templates/dashboard/product/product_form.html
+++ b/templates/dashboard/product/product_form.html
@@ -400,10 +400,10 @@
</div>
<div class="sortable__drag-area"></div>
<div class="card-action">
- <a href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=image.pk %}">
+ <a class="btn btn-flat" href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=image.pk %}">
{% trans "Edit" context "Image card action" %}
</a>
- <a href="#base-modal" class="modal-trigger-custom"
+ <a class="btn btn-flat" href="#base-modal" class="modal-trigger-custom"
data-href="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}">
{% trans "Delete" context "Image card action" %}
</a>