aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-10-13 19:39:37 +0000
committerzsloan2022-10-13 19:39:37 +0000
commitb5f4ed9ffae864b6fa19d8a9470ba156dcebeb02 (patch)
treeb00a3f1373075b5924ef329c32b1d698c9f09ba3 /wqflask
parent49580eb9cd47bb2ce15fd44be11bb9580d85efef (diff)
downloadgenenetwork2-b5f4ed9ffae864b6fa19d8a9470ba156dcebeb02.tar.gz
Set scrollX to 100% in DataTables default settings
This should fix the issue where horizontal scrolling ruins the header/row alignment
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/create_datatable.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/create_datatable.js b/wqflask/wqflask/static/new/javascript/create_datatable.js
index 7635cae0..84754da8 100644
--- a/wqflask/wqflask/static/new/javascript/create_datatable.js
+++ b/wqflask/wqflask/static/new/javascript/create_datatable.js
@@ -29,6 +29,7 @@ create_table = function(tableId="trait_table", tableData = [], columnDefs = [],
"autoWidth": false,
"bSortClasses": false,
"scrollY": "100vh",
+ "scrollX": "100%",
"scrollCollapse": true,
"scroller": true,
"iDisplayLength": -1,