1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-13 01:08:49 +01:00
DataTables/examples/ajax/data
Allan Jardine 6e51a62684 Avoid applying padding to non sortable items on small tables
I don't know if there are more to this or if it would break some other rules but as of my testing it should be fine to remove this rule for headers that have no sorting applied to them.

This is the case already for "normal sized" tables as the padding-right rule is only applied if there is a sorting class to the element. But it has been forgotten for the table-sm variant. So there are two options that I can see.

Specify this rule does not apply if there is a sorting_disabled class
Do the same as what was done for the normal sized table in the following commit: 4e611f31ff
2020-05-21 09:24:54 +00:00
..
arrays_custom_prop.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00
arrays_subobjects.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00
arrays.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00
objects_deep.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00
objects_root_array.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00
objects_subarrays.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00
objects.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00
orthogonal.txt Avoid applying padding to non sortable items on small tables 2020-05-21 09:24:54 +00:00