Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix padding when no data
dominik-zeglen0632a80ca4d5
diff --git a/saleor/static/dashboard/scss/components/_data-table.scss b/saleor/static/dashboard/scss/components/_data-table.scssindex 13a2104157..24e0b3779a 100644--- a/saleor/static/dashboard/scss/components/_data-table.scss+++ b/saleor/static/dashboard/scss/components/_data-table.scss@@ -73,6 +73,9 @@line-height: 1;margin: 0;padding: 0 24px;+ &--no-data {+ padding: 0 15px;+ }}&.last-right-align {diff --git a/templates/dashboard/customer/detail.html b/templates/dashboard/customer/detail.htmlindex a3327cdc1c..c7ac322f04 100644--- a/templates/dashboard/customer/detail.html+++ b/templates/dashboard/customer/detail.html@@ -81,7 +81,7 @@<div class="card"><div class="data-table-header{% if not customer_orders %} data-table-header--no-data{% endif %}">- <h5 class="data-table-title">+ <h5 class="data-table-title {% if not customer_orders %} data-table-title--no-data{% endif %}">{% trans "Recent orders" context "Customer recent orders table title" %}</h5></div>