Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Change default text alignment in last columns to left
dominik-zeglene63b3e9d112a
diff --git a/saleor/static/dashboard/scss/components/_data-table.scss b/saleor/static/dashboard/scss/components/_data-table.scssindex aac151c889..9bd1575b75 100644--- a/saleor/static/dashboard/scss/components/_data-table.scss+++ b/saleor/static/dashboard/scss/components/_data-table.scss@@ -75,10 +75,10 @@padding: 0 24px;}- &.no-align {+ &.last-right-align {td, th {&:last-child {- text-align: inherit;+ text-align: right;}}}@@ -119,7 +119,6 @@&:last-child {padding-right: 24px;- text-align: right;}&.no-padded {diff --git a/templates/dashboard/category/list.html b/templates/dashboard/category/list.htmlindex 52d2563d36..805d530d51 100644--- a/templates/dashboard/category/list.html+++ b/templates/dashboard/category/list.html@@ -113,7 +113,7 @@{% if categories %}<div class="card"><div class="data-table-container">- <table class="bordered highlight responsive data-table data-table-description no-align">+ <table class="bordered highlight responsive data-table data-table-description"><thead><tr>{% get_sort_by_toggle 'name' as toggle %}diff --git a/templates/dashboard/discount/sale/list.html b/templates/dashboard/discount/sale/list.htmlindex b3a3c1b3c0..c1588017ce 100644--- a/templates/dashboard/discount/sale/list.html+++ b/templates/dashboard/discount/sale/list.html@@ -36,7 +36,7 @@<div class="col s12 l9"><div class="card"><div class="data-table-container">- <table class="bordered highlight responsive data-table">+ <table class="bordered highlight responsive data-table last-right-align"><thead><tr>{% get_sort_by_toggle 'name' as toggle %}diff --git a/templates/dashboard/discount/voucher/list.html b/templates/dashboard/discount/voucher/list.htmlindex ae0b77948e..b68193352d 100644--- a/templates/dashboard/discount/voucher/list.html+++ b/templates/dashboard/discount/voucher/list.html@@ -37,7 +37,7 @@<div class="col s12 l9"><div class="card"><div class="data-table-container">- <table class="bordered highlight responsive data-table">+ <table class="bordered highlight responsive data-table last-right-align">{% if vouchers %}<thead><tr>diff --git a/templates/dashboard/group/list.html b/templates/dashboard/group/list.htmlindex 01e673f329..8fa42b441e 100644--- a/templates/dashboard/group/list.html+++ b/templates/dashboard/group/list.html@@ -40,7 +40,7 @@{% if groups %}<div class="card"><div class="data-table-container">- <table class="bordered highlight data-table data-table-description no-align">+ <table class="bordered highlight data-table data-table-description"><thead><tr>{% get_sort_by_toggle 'name' as toggle %}diff --git a/templates/dashboard/includes/_orders_table.html b/templates/dashboard/includes/_orders_table.htmlindex facf9ebf20..6f658b6e31 100644--- a/templates/dashboard/includes/_orders_table.html+++ b/templates/dashboard/includes/_orders_table.html@@ -4,7 +4,7 @@{% load status %}<div class="data-table-container">- <table class="bordered highlight responsive data-table">+ <table class="bordered highlight responsive data-table last-right-align"><thead><tr>{% get_sort_by_toggle 'pk' as toggle %}diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.htmlindex b38c01a7c2..40fb094591 100644--- a/templates/dashboard/product/list.html+++ b/templates/dashboard/product/list.html@@ -66,7 +66,7 @@</div></nav><div class="data-table-container">- <table class="bordered highlight responsive data-table">+ <table class="bordered highlight responsive data-table last-right-align"><thead><tr><th class="bulk-checkbox">diff --git a/templates/dashboard/product/stock_location/list.html b/templates/dashboard/product/stock_location/list.htmlindex f0ae8cd489..349e4c932f 100644--- a/templates/dashboard/product/stock_location/list.html+++ b/templates/dashboard/product/stock_location/list.html@@ -37,7 +37,7 @@{% if locations %}<div class="card"><div class="data-table-container">- <table class="highlight bordered data-table no-align">+ <table class="highlight bordered data-table"><thead><tr>{% get_sort_by_toggle 'name' as toggle %}