Mobile optimization
* adds table-responsive class to BaseClass * adds html meta attributes for proper small device rendering
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user