Mobile optimization

* adds table-responsive class to BaseClass
* adds html meta attributes for proper small device rendering
This commit is contained in:
mipel
2021-08-19 08:44:47 +02:00
parent c82ee8afbc
commit 7dbf4d5b91
3 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class BaseTable(tables.tables.Table):
class Meta:
attrs = {
"class": "table table-hover",
"class": "table table-hover table-responsive-md table-responsive-sm",
}
def __init__(self, request: HttpRequest = None, filter_set=None, queryset=None, *args, **kwargs):