changeset 9:bbdc8fb0de2b

fix descriptiontable width
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 08 May 2014 18:59:32 +0200
parents beb83da5a6b7
children 2fbdf2eb27b4
files visualise.html.jinja
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/visualise.html.jinja	Thu May 08 17:33:41 2014 +0200
+++ b/visualise.html.jinja	Thu May 08 18:59:32 2014 +0200
@@ -172,9 +172,8 @@
       white-space: nowrap;
       }
       table.descriptiontable td div {
-      display: inline-block;
-      overflow: hidden;
-      max-height: 1.4em;
+      width: 1em;
+      overflow: visible;
       white-space: nowrap;
       }
 
@@ -257,6 +256,7 @@
         <div class=grey><div class=white>
             <h4 class=blackHeader>Sequences producing significant alignments:</h4>
             <table class=descriptiontable>
+	      <col/><col/><col/><col/><col/><col/><col/>
               <tr>
                 <th>Description</th>
                 <th>Max score</th>
@@ -268,7 +268,7 @@
               </tr>
               {% for hit in hit_info %}
               <tr>
-                <td><div>{{hit.description}}</div></td>
+                <td style="width: 100%"><div>{{hit.description}}</div></td>
                 <td>{{hit.maxscore}}</td>
                 <td>{{hit.totalscore}}</td>
                 <td>{{hit.cover}}</td>