From f2774c328f88752186934c29fe992cc373587e4e Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 22 Mar 2023 18:50:54 +0000 Subject: Fix search result table width --- wqflask/wqflask/templates/search_result_page.html | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 9e8e269a..1d42103b 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -66,10 +66,6 @@

The associated genes include:

{% for word in search_terms %}{{ word.search_term[0] }}{% endfor %}

{% endif %} - - - - {% if too_many_results %}

Your search generated over 50000 results. Please modify your search to generate 50000 or fewer matches.

@@ -136,7 +132,7 @@ {% endif %} {% endif %} -
+
@@ -297,11 +293,6 @@ { 'title': "Description", 'type': "natural", - {% if (max_widths.description * 7) < 500 %} - 'width': "{{ max_widths.description * 7 }}px", - {% else %} - 'width': "500px", - {% endif %} 'data': null, 'targets': 3, 'render': function(data) { @@ -439,7 +430,7 @@ }, "order": [[1, "asc" ]], "autoWidth": true, - {% if traits_json|length > 10 %} + {% if trait_list|length > 10 %} "scrollY": "1000px", "scroller": true {% else %} -- cgit v1.2.3

Loading...