diff --git a/Bootstrap.Admin/Scripts/well.js b/Bootstrap.Admin/Scripts/well.js index 1858375e..71e2de80 100644 --- a/Bootstrap.Admin/Scripts/well.js +++ b/Bootstrap.Admin/Scripts/well.js @@ -1,7 +1,11 @@ $(function () { $('#main-content').css('backgroundImage', 'url("../../content/images/bg.jpg")'); function resposive() { - $('.well-bg').height($(window).height() - 270); + var height = $(window).height(); + if (height > 672) + $('.well-bg').height(height - 270); + else + $('.well-bg').height(height - 158); } $(window).on('load', resposive); $(window).on('resize', resposive);