Skip to content

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

Fix 'n items selected' text margin and buttons behavior

dominik-zeglenc5298fdcbeec
diff --git a/saleor/static/dashboard/scss/components/_data-table.scss b/saleor/static/dashboard/scss/components/_data-table.scss
index 70f280e36e..9ce1b79507 100644
--- a/saleor/static/dashboard/scss/components/_data-table.scss
+++ b/saleor/static/dashboard/scss/components/_data-table.scss
@@ -21,7 +21,6 @@
&-header-alternative {
box-shadow: none;
- border-bottom: 1px #d0d0d0 solid;
transition: $transition-duration;
max-height: 0;
overflow: hidden;
@@ -32,12 +31,16 @@
background: #fff;
color: $off-black;
max-height: 100px;
+ border-bottom: 1px #d0d0d0 solid;
.show-bulk {
display: block;
}
th, a {
color: color('teal', 'base');
}
+ .data-table-header-action-selected-items {
+ margin-left: 13px;
+ }
}
&.single {
background: #fff;
diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.html
index 23eef7ef51..1f36dae397 100644
--- a/templates/dashboard/product/list.html
+++ b/templates/dashboard/product/list.html
@@ -61,7 +61,7 @@
<ul class="right">
{% for action, label in bulk_action_form.action.field.widget.choices %}
<li>
- <a href="" data-action="{{ action }}">{{ label }}</a>
+ <a href="" data-action="{{ action }}" class="btn-flat">{{ label|upper }}</a>
</li>
{% endfor %}
</ul>