aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-03-11 22:35:11 +0000
committerzsloan2021-03-11 22:35:11 +0000
commit3c4043e445d0708490b2a14805b8e3eaa75c23fd (patch)
tree659aca47c9b5db2687683293b15601b3661f15c4 /wqflask
parent6e78df4be9abb7e1ce959e9b83b9d38bd77fcade (diff)
downloadgenenetwork2-3c4043e445d0708490b2a14805b8e3eaa75c23fd.tar.gz
Added some CSS to make cell content cut off with ellipses if a column is narrower than the content's width
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/css/trait_list.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/css/trait_list.css b/wqflask/wqflask/static/new/css/trait_list.css
index c7249721..6d49f009 100644
--- a/wqflask/wqflask/static/new/css/trait_list.css
+++ b/wqflask/wqflask/static/new/css/trait_list.css
@@ -52,3 +52,21 @@ div.dts div.dataTables_paginate,div.dts div.dataTables_length{
display:none
}
+/* This is the important CSS */
+table.dataTable {
+ table-layout: fixed;
+ width: 100%;
+ white-space: nowrap;
+ overflow: hidden;
+}
+
+table.dataTable th {
+ white-space: nowrap;
+ overflow: hidden;
+}
+
+table.dataTable td {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+} \ No newline at end of file