Skip to content

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

Fix padding for customer notes in customer/detail.html

michald96a98db7c08
diff --git a/templates/dashboard/customer/detail.html b/templates/dashboard/customer/detail.html
index 87e1a7c8a0..07d6fc91ae 100644
--- a/templates/dashboard/customer/detail.html
+++ b/templates/dashboard/customer/detail.html
@@ -130,22 +130,20 @@
<span class="card-title">
{% trans "Customer notes" context "Customer notes card title" %}
</span>
- <div class="row">
- {% if notes %}
- <ul class="list">
- {% for note in notes %}
- <li class="list-item list-item--spaced">
- <small class="list-item-author">{{ note.user }} - {{ note.date }}</small>
- <p>{{ note.content }}</p>
- </li>
- {% endfor %}
- </ul>
- {% else %}
- <div>
- {% trans "There are no notes associated with this customer" context "Customer without notes message" %}
- </div>
- {% endif %}
- </div>
+ {% if notes %}
+ <ul class="list">
+ {% for note in notes %}
+ <li class="list-item list-item--spaced">
+ <small class="list-item-author">{{ note.user }} - {{ note.date }}</small>
+ <p>{{ note.content }}</p>
+ </li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <div>
+ {% trans "There are no notes associated with this customer" context "Customer without notes message" %}
+ </div>
+ {% endif %}
</div>
{% if perms.account.edit_user %}
<div class="card-action">