From a4b20eb46ba3246269946579a93ab29857b11e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Solard?= Date: Thu, 7 Aug 2014 17:28:57 +0200 Subject: [PATCH] Enlarge the height of the mail list for small screen --- modoboa/extensions/webmail/static/webmail/js/webmail.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modoboa/extensions/webmail/static/webmail/js/webmail.js b/modoboa/extensions/webmail/static/webmail/js/webmail.js index 389773202..76b3751d3 100644 --- a/modoboa/extensions/webmail/static/webmail/js/webmail.js +++ b/modoboa/extensions/webmail/static/webmail/js/webmail.js @@ -58,7 +58,7 @@ Webmail.prototype = { "col-lg-12 col-md-12 col-ms-12 col-xs-12" ); $("#listing").css({ - height: $(window).height() - 200 + 'px' + height: $(window).height() - 150 + 'px' }); } @@ -84,7 +84,7 @@ Webmail.prototype = { var that = this; $(window).resize(function(){ - if ($( window ).width()<770){ + if ($( window ).width()<767){ $("tr td[name='from']").css({ width: 35 + '%' }); @@ -98,7 +98,7 @@ Webmail.prototype = { "col-lg-12 col-md-12 col-ms-12 col-xs-12" ); $("#listing").css({ - height: $(window).height() - 200 + 'px' + height: $(window).height() - 150 + 'px' }); $("#listing").removeClass( "listing-up-1198"