From b6760071cc3f27c7d779e878bf9c44fa5c7278f0 Mon Sep 17 00:00:00 2001 From: gw3000 Date: Tue, 15 Aug 2023 10:32:02 +0200 Subject: [PATCH] scroll horiontal in '_all tables' --- app/bird/templates/bird/bird_all.html | 1 + app/costs/templates/costs/costs_all.html | 1 + app/rescuer/templates/rescuer/rescuer_all.html | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/bird/templates/bird/bird_all.html b/app/bird/templates/bird/bird_all.html index 5770d44..55337e1 100644 --- a/app/bird/templates/bird/bird_all.html +++ b/app/bird/templates/bird/bird_all.html @@ -24,6 +24,7 @@ info: true, "pagingType": "first_last_numbers", responsive: true, + scrollX: true, order: [[2, 'desc']], columnDefs: [ { responsivePriority: 1, targets: 0 }, diff --git a/app/costs/templates/costs/costs_all.html b/app/costs/templates/costs/costs_all.html index 34c0ada..afa33e1 100644 --- a/app/costs/templates/costs/costs_all.html +++ b/app/costs/templates/costs/costs_all.html @@ -28,6 +28,7 @@ info: true, "pagingType": "first_last_numbers", responsive: true, + scrollX: true, order: [[2, 'desc']], columnDefs: [ { responsivePriority: 1, targets: 0 }, diff --git a/app/rescuer/templates/rescuer/rescuer_all.html b/app/rescuer/templates/rescuer/rescuer_all.html index ab514e2..f2aab21 100644 --- a/app/rescuer/templates/rescuer/rescuer_all.html +++ b/app/rescuer/templates/rescuer/rescuer_all.html @@ -24,6 +24,7 @@ info: true, "pagingType": "first_last_numbers", responsive: true, + scrollX: true, columnDefs: [ { responsivePriority: 1, targets: 0 }, ] @@ -75,4 +76,4 @@ -{% endblock content %} \ No newline at end of file +{% endblock content %}