diff --git a/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js b/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js index 83a38757570a71efdad8f6c4e7c0a770fc0d8a83..d7f7bd0e55829567de5f6f0f4f40cb691b201ced 100644 --- a/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js +++ b/eu_basynthec/source/core-plugins/basynthec/1/as/webapps/basynthec/browser/basynthec-browser.js @@ -248,7 +248,7 @@ AppPresenter.prototype.createVis = function() od600StrainWithPhenotypesAndPredictionsVis.style("opacity", "0"); od600StrainWithPhenotypesAndPredictionsVisScroll = od600StrainWithPhenotypesAndPredictionsVis.append("div"); - od600StrainWithPhenotypesAndPredictionsVisScroll.style("height", w + "px"); + od600StrainWithPhenotypesAndPredictionsVisScroll.style("height", ($(window).height() - 250) + "px"); od600StrainWithPhenotypesAndPredictionsVisScroll.style("overflow-y", "scroll"); od600StrainWithPhenotypesAndPredictionsVisLegend = od600StrainWithPhenotypesAndPredictionsVis.append("div");