Use auto margins and width to center django-tables2 tables
This commit is contained in:
parent
dd6ef35223
commit
4934abccb8
@ -141,3 +141,4 @@ Q_CLUSTER = {
|
|||||||
|
|
||||||
# Django-Tables2
|
# Django-Tables2
|
||||||
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5-responsive.html"
|
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap5-responsive.html"
|
||||||
|
DJANGO_TABLES2_TABLE_ATTRS = {"class": "table mx-auto w-auto"}
|
||||||
|
Loading…
Reference in New Issue
Block a user