Commit fb72fe39d0f8b37b0b6ae35b5309e9d8a17960ba
1 parent
2ca490b1
this is for aa height issue responsive
Showing
1 changed file
with
5 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... | ... | @@ -145,8 +145,11 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
145 | 145 | if (document.getElementById('aaDetailPageDiv') != null) { |
146 | 146 | |
147 | 147 | //0.4 added some stylesheets |
148 | - $('#aaBodyView').css("height", $(window).outerHeight()); | |
149 | - $('#aaBodyView').css("width", $(window).outerWidth()); | |
148 | + $('.aaBodyView').css("height", $(window).outerHeight() - $('.navbar-fixed-top').height()); | |
149 | + $('.aaBodyView').css("width", $(window).outerWidth()); | |
150 | + $rootScope.canvasDivHeight = $('.aaBodyView').height(); | |
151 | + | |
152 | + $('.canvasDivClass').css("height", $rootScope.canvasDivHeight); | |
150 | 153 | |
151 | 154 | $scope.currentTitleFromJson = localStorage.getItem("currentViewTitle"); |
152 | 155 | $("#modItemImage").attr('src', $rootScope.OpenItemImagePath); | ... | ... |