Skip to content

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

Remove circle clipper from product image

dominik-zeglenb6246b75aee1
diff --git a/saleor/static/dashboard/scss/components/_data-table.scss b/saleor/static/dashboard/scss/components/_data-table.scss
index 6f75825f32..4ea5f57a86 100644
--- a/saleor/static/dashboard/scss/components/_data-table.scss
+++ b/saleor/static/dashboard/scss/components/_data-table.scss
@@ -1,6 +1,11 @@
@mixin data-table {
&-container {
overflow: auto;
+ .avatar {
+ img {
+ vertical-align: middle;
+ }
+ }
}
&-action {
@@ -45,7 +50,7 @@
}
}
- tr[data-action-go]>td:not(.ignore-link):hover {
+ tr[data-action-go] > td:not(.ignore-link):hover {
cursor: pointer;
}
diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.html
index 1511886ce0..025b77fe20 100644
--- a/templates/dashboard/product/list.html
+++ b/templates/dashboard/product/list.html
@@ -91,7 +91,7 @@
<td class="avatar">
<img src="{% product_first_image product size="60x60" method="crop" %}"
srcset="{% product_first_image product size="60x60" method="crop" %} 1x, {% product_first_image product size="120x120" method="crop" %} 2x"
- alt="" class="circle teal">
+ alt="" class="teal">
</td>
<td>
{{ product.name }}