Commit beeeae1a077861917354978ac3b86435d313183a
1 parent
e6065c82
Committed changes regarding bottom black border issue
Showing
1 changed file
with
15 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js
... | ... | @@ -563,7 +563,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
563 | 563 | left: 1, |
564 | 564 | }, |
565 | 565 | |
566 | - size: { width: $(window).outerWidth() - 10, height: $(window).outerHeight() }, | |
566 | + size: { width: $(window).outerWidth() - 10, height: $(window).outerHeight() - 110 }, | |
567 | 567 | |
568 | 568 | }); |
569 | 569 | |
... | ... | @@ -576,6 +576,20 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
576 | 576 | "slug": $rootScope.currentSlug |
577 | 577 | }); |
578 | 578 | |
579 | + if ($('.jsPanel-content').length > 0) { | |
580 | + if ($('.jsPanel-content').height() - $('#canvasDiv').height() > 300) { | |
581 | + $('.well').css('margin-bottom', $('.jsPanel-content').height() - $('#canvasDiv').height() + 150); | |
582 | + } | |
583 | + if ($('.jsPanel-content').height() - $('#canvasDiv').height() > 200) { | |
584 | + $('.well').css('margin-bottom', $('.jsPanel-content').height() - $('#canvasDiv').height() + 80); | |
585 | + } | |
586 | + if ($('.jsPanel-content').height() - $('#canvasDiv').height() > 100) { | |
587 | + $('.well').css('margin-bottom', $('.jsPanel-content').height() - $('#canvasDiv').height() + 50); | |
588 | + } | |
589 | + //$('.well').css('margin-bottom', $('.jsPanel-content').height() - $('#canvasDiv').height() + 20); | |
590 | + $('#divplayerinlineVideo').css('background', '#fff'); | |
591 | + } | |
592 | + | |
579 | 593 | } |
580 | 594 | |
581 | 595 | ... | ... |