diff --git a/frontend-js/src/main/js/gui/Panel.js b/frontend-js/src/main/js/gui/Panel.js
index f9208296ff19998b2d6d33b173ac7888aa626044..508ebc0a0348a7c8231f62ab6dbd654d16f0f48f 100644
--- a/frontend-js/src/main/js/gui/Panel.js
+++ b/frontend-js/src/main/js/gui/Panel.js
@@ -335,6 +335,11 @@ Panel.prototype.onresize = function () {
   var self = this;
   var footerPosition = window.innerHeight;
 
+  var footerHeight = Math.max(0, $(".minerva-logo-footer").outerHeight());
+  footerHeight = Math.max(footerHeight, $(".minerva-footer-table").outerHeight());
+
+  footerPosition -= footerHeight;
+
   // compute the width (we can only compute it for visible elements)
   var size = 100000;