diff options
author | zsloan | 2023-10-24 17:39:02 +0000 |
---|---|---|
committer | zsloan | 2023-10-24 17:39:02 +0000 |
commit | 05939fb1742df401d6f0779300bd0d4794f3dcd7 (patch) | |
tree | 2c520aa98dbf3adad9bb7647a13cf130158a0c1e | |
parent | 45906a89d4772a3b26fb70d25a79a646c73a4629 (diff) | |
download | genenetwork2-05939fb1742df401d6f0779300bd0d4794f3dcd7.tar.gz |
Prevent search result table from having the scroll bar not be visible at the edge of the browser window
-rw-r--r-- | wqflask/wqflask/templates/search_result_page.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index 7704f39b..cade198a 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -132,8 +132,8 @@ {% endif %} </div> {% endif %} - <div id="trait_table_container" style="{% if dataset.type == 'Geno' %}width: 450px;{% else %}width: 100%; min-width: 1250px;{% endif %}"> - <table class="table-hover table-striped cell-border" id='trait_table' style="float: left; width: 100%;"> + <div id="trait_table_container" style="{% if dataset.type == 'Geno' %}width: 450px;{% else %}width: 90%; min-width: 1250px;{% endif %}"> + <table class="table-hover table-striped cell-border" id='trait_table' style="float: left;"> <tbody> <td colspan="100%" align="center"><br><b><font size="15">Loading...</font></b><br></td> </tbody> @@ -433,7 +433,8 @@ "autoWidth": true, {% if trait_list|length > 10 %} "scrollY": "1000px", - "scroller": true + "scroller": true, + "scrollCollapse":true {% else %} "scroller": false {% endif %} |