Skip to content

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

Fix order details button hover styles

Krzysztof Białogłowicz7ee18be558a0
diff --git a/saleor/static/scss/dashboard/components/_card.scss b/saleor/static/scss/dashboard/components/_card.scss
index 221660c8e6..7c44b4bcd3 100644
--- a/saleor/static/scss/dashboard/components/_card.scss
+++ b/saleor/static/scss/dashboard/components/_card.scss
@@ -13,6 +13,12 @@
.row {
margin-bottom: 0;
}
+
+ & &-action {
+ a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating):hover {
+ color: $button-flat-color;
+ }
+ }
}
.card {
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.html
index 875fc6e7fc..cd32a68e28 100644
--- a/templates/dashboard/order/detail.html
+++ b/templates/dashboard/order/detail.html
@@ -164,7 +164,7 @@
</div>
<div class="card-action">
- <a href="{% url "dashboard:address-edit" order_pk=order.pk address_type="shipping" %}">
+ <a class="btn-flat" href="{% url "dashboard:address-edit" order_pk=order.pk address_type="shipping" %}">
{% trans "Edit" context "Shipping address card action" %}
</a>
</div>