Skip to content

Commit

Permalink
adding still empty status line - #51
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrasca committed May 20, 2019
1 parent 91018d4 commit 82a9b8a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions browse/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
// collect the elements, get their height, sum the values, assign the rest to the results box
var stealing = $('.stealing-height-from-results').map(function (i, x) { return parseInt($(x).css('height'))})
var stolen = Object.values(stealing).slice(0, stealing.length).reduce((t, i) => t + i + 2)
$('#results-box').css('height', '{}px'.format(window.innerHeight - stolen))
$('#locked-height-container > div').css('height', '{}px'.format(window.innerHeight - stolen))
}

function switch_page(e) {
Expand Down Expand Up @@ -528,7 +528,7 @@
</div>
</div>

<div class="row" >
<div class="row" id="locked-height-container">
<div class="col-7" style="overflow-y:scroll" id="results-box">
<table class="table table-hover">
<tbody class="Taxon">
Expand All @@ -543,7 +543,7 @@
</tbody>
</table>
</div>
<div class="col-5">
<div class="col-5" style="overflow-y:scroll">
<h5 id="infobox-object-text"></h5>
<table class="table" id="infobox-table">
<tbody id="infobox-main-tbody">
Expand All @@ -553,6 +553,11 @@ <h5 id="infobox-object-text"></h5>
</table>
</div>
</div>
<div class="row">
<div class="col-12 stealing-height-from-results">
http://ghini.github.io/
</div>
</div>
</div>

<div class="container pager-page" id="home-page">
Expand Down

0 comments on commit 82a9b8a

Please sign in to comment.