Skip to content

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

Enhance order notes displaying in dashboard

dominik-zeglenb4cc87c42de0
diff --git a/saleor/static/dashboard/scss/dashboard.scss b/saleor/static/dashboard/scss/dashboard.scss
index e07dc39019..11f474955f 100644
--- a/saleor/static/dashboard/scss/dashboard.scss
+++ b/saleor/static/dashboard/scss/dashboard.scss
@@ -26,6 +26,7 @@
@import "components/timeline";
@import "components/zero-page";
+@import "layouts/orders";
@import "layouts/search-results";
@import "layouts/style-guide";
@import "print";
diff --git a/saleor/static/dashboard/scss/layouts/_orders.scss b/saleor/static/dashboard/scss/layouts/_orders.scss
new file mode 100644
index 0000000000..0d5875dcc6
--- /dev/null
+++ b/saleor/static/dashboard/scss/layouts/_orders.scss
@@ -0,0 +1,7 @@
+.body-orders {
+ .order-notes {
+ .list-item {
+ margin-bottom: 1rem;
+ }
+ }
+}
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.html
index 2b9e2324b3..f7f2696335 100644
--- a/templates/dashboard/order/detail.html
+++ b/templates/dashboard/order/detail.html
@@ -422,7 +422,7 @@
</table>
</div>
</div>
- <div class="card{% if not notes %} print-hide{% endif %}" id="order-notes">
+ <div class="card order-notes{% if not notes %} print-hide{% endif %}" id="order-notes">
<div class="card-content">
<span class="card-title black-text">
{% trans "Order notes" context "Order notes card title" %}