diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 6fb8118..7647abc 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -145,8 +145,11 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo if (document.getElementById('aaDetailPageDiv') != null) { //0.4 added some stylesheets - $('#aaBodyView').css("height", $(window).outerHeight()); - $('#aaBodyView').css("width", $(window).outerWidth()); + $('.aaBodyView').css("height", $(window).outerHeight() - $('.navbar-fixed-top').height()); + $('.aaBodyView').css("width", $(window).outerWidth()); + $rootScope.canvasDivHeight = $('.aaBodyView').height(); + + $('.canvasDivClass').css("height", $rootScope.canvasDivHeight); $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); $("#modItemImage").attr('src', $rootScope.OpenItemImagePath);